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

Side by Side Diff: tools/telemetry/telemetry/google_credentials_backend.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry import form_based_credentials_backend 5 from telemetry import form_based_credentials_backend
6 6
7 class GoogleCredentialsBackend( 7 class GoogleCredentialsBackend(
8 form_based_credentials_backend.FormBasedCredentialsBackend): 8 form_based_credentials_backend.FormBasedCredentialsBackend):
9 def IsAlreadyLoggedIn(self, tab): 9 def IsAlreadyLoggedIn(self, tab):
10 return tab.EvaluateJavaScript( 10 return tab.EvaluateJavaScript(
(...skipping 11 matching lines...) Expand all
22 def login_form_id(self): 22 def login_form_id(self):
23 return 'gaia_loginform' 23 return 'gaia_loginform'
24 24
25 @property 25 @property
26 def login_input_id(self): 26 def login_input_id(self):
27 return 'Email' 27 return 'Email'
28 28
29 @property 29 @property
30 def password_input_id(self): 30 def password_input_id(self):
31 return 'Passwd' 31 return 'Passwd'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698