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

Side by Side Diff: tools/telemetry/telemetry/form_based_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 import logging 5 import logging
6 6
7 import telemetry 7 import telemetry
8 from telemetry import util 8 from telemetry import util
9 9
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 _SubmitFormAndWait(self.login_form_id, tab) 103 _SubmitFormAndWait(self.login_form_id, tab)
104 104
105 self._logged_in = True 105 self._logged_in = True
106 return True 106 return True
107 except telemetry.TimeoutException: 107 except telemetry.TimeoutException:
108 logging.warning('Timed out while loading: %s', self.url) 108 logging.warning('Timed out while loading: %s', self.url)
109 return False 109 return False
110 110
111 def LoginNoLongerNeeded(self, tab): # pylint: disable=W0613 111 def LoginNoLongerNeeded(self, tab): # pylint: disable=W0613
112 assert self._logged_in 112 assert self._logged_in
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698