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

Unified Diff: tools/telemetry/telemetry/core/backends/google_credentials_backend.py

Issue 1001433002: [Telemetry] Update credentials.json with a new google account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add google2 backend Created 5 years, 9 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/backends/google_credentials_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/google_credentials_backend.py b/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
index 2464f4d32f951308831a696dab7a3d99ca9d95ec..118dd252fb2979a695345b118d7f1751a2b90865 100644
--- a/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
+++ b/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
@@ -36,3 +36,11 @@ class GoogleCredentialsBackend(
@property
def password_input_id(self):
return 'Passwd'
+
+
+class GoogleCredentialsBackend2(GoogleCredentialsBackend):
+ """ Google credential backend for google2 credential. """
+
+ @property
+ def credentials_type(self):
+ return 'google2'
« no previous file with comments | « tools/perf/page_sets/data/credentials.json.sha1 ('k') | tools/telemetry/telemetry/core/browser_credentials.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698