Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: tools/telemetry/telemetry/core/chrome/android_browser_finder.py

Issue 14359012: Telemetry: Add option to create a dirty profile as part of a test run (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix to unit tests Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/chrome/android_browser_finder.py
diff --git a/tools/telemetry/telemetry/core/chrome/android_browser_finder.py b/tools/telemetry/telemetry/core/chrome/android_browser_finder.py
index f6a0c0e3e00263b08d98aebc6420ee06f672ecec..f1c183a7ff421cecdba5d3fa03609beeb9cbf5cb 100644
--- a/tools/telemetry/telemetry/core/chrome/android_browser_finder.py
+++ b/tools/telemetry/telemetry/core/chrome/android_browser_finder.py
@@ -11,6 +11,7 @@ import sys
from telemetry.core import browser
from telemetry.core import possible_browser
+from telemetry.core import profile_types
from telemetry.core.chrome import adb_commands
from telemetry.core.chrome import android_browser_backend
from telemetry.core.platform import android_platform_backend
@@ -49,6 +50,9 @@ class PossibleAndroidBrowser(possible_browser.PossibleBrowser):
return 'PossibleAndroidBrowser(browser_type=%s)' % self.browser_type
def Create(self):
+ if profile_types.GetProfileCreator(self.options.profile_type):
+ raise Exception("Profile creation not currently supported on Android")
+
backend = android_browser_backend.AndroidBrowserBackend(
self._options, self._backend_settings)
platform_backend = android_platform_backend.AndroidPlatformBackend(
« no previous file with comments | « tools/telemetry/telemetry/core/browser_unittest.py ('k') | tools/telemetry/telemetry/core/chrome/cros_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698