OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 from chrome_remote_control import form_based_credentials_backend | |
6 | |
7 class GoogleCredentialsBackend( | |
8 form_based_credentials_backend.FormBasedCredentialsBackend): | |
9 @property | |
10 def credentials_type(self): | |
11 return 'google' | |
12 | |
13 @property | |
14 def url(self): | |
15 return 'https://accounts.google.com/' | |
16 | |
17 @property | |
18 def form_id(self): | |
19 return 'gaia_loginform' | |
20 | |
21 @property | |
22 def login_input_id(self): | |
23 return 'Email' | |
24 | |
25 @property | |
26 def password_input_id(self): | |
27 return 'Passwd' | |
OLD | NEW |