tools/android/customtabs_benchmark/scripts/chrome_setup.py
def ResetChromeLocalState(device, package):
  """Remove the Chrome Profile and the various disk caches."""
  profile_dirs = ['app_chrome/Default', 'cache', 'app_chrome/ShaderCache',
                  'app_tabs']
  cmd = ['rm', '-rf']
  cmd.extend(
      '/data/data/{}/{}'.format(package, d) for d in profile_dirs)
  device.adb.Shell(subprocess.list2cmdline(cmd))
Remove the Chrome Profile and the various disk caches.
Remove the Chrome Profile and the various disk caches.
Remove the Chrome Profile and the various disk caches .
def ResetChromeLocalState(device, package):
  profile_dirs = ['app_chrome/Default', 'cache', 'app_chrome/ShaderCache',
                  'app_tabs']
  cmd = ['rm', '-rf']
  cmd.extend(
      '/data/data/{}/{}'.format(package, d) for d in profile_dirs)
  device.adb.Shell(subprocess.list2cmdline(cmd))
def ResetChromeLocalState ( device , package ) : profile_dirs = [ 'app_chrome/Default' , 'cache' , 'app_chrome/ShaderCache' , 'app_tabs' ] cmd = [ 'rm' , '-rf' ] cmd . extend ( '/data/data/{}/{}' . format ( package , d ) for d in profile_dirs ) device . adb . Shell ( subprocess . list2cmdline ( cmd ) )
Remove the Chrome Profile and the various disk caches.
Remove the Chrome Profile and the various disk caches .
"""Remove the Chrome Profile and the various disk caches."""
device
package