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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/tab.py

Issue 10914237: Port perf.py's _LoginToGoogleAccount to chrome_remote_control (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « tools/chrome_remote_control/chrome_remote_control/page_set.py ('k') | tools/gpu/page_sets/2012Q3.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_remote_control/chrome_remote_control/tab.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/tab.py b/tools/chrome_remote_control/chrome_remote_control/tab.py
index da6061fa0a708ecae246290e01b43631ebe56e2d..b83aaefc8d0e25fac51e2d730eee987f9a6d9415 100644
--- a/tools/chrome_remote_control/chrome_remote_control/tab.py
+++ b/tools/chrome_remote_control/chrome_remote_control/tab.py
@@ -75,3 +75,9 @@ class Tab(object):
rs = self._runtime.Evaluate('document.readyState')
return rs == 'complete' or rs == 'interactive'
util.WaitFor(IsReadyStateInteractiveOrBetter, timeout)
+
+ def LoginNeeded(self, credentials_type):
+ self.browser.credentials.LoginNeeded(credentials_type, self)
+
+ def LoginNoLongerNeeded(self, credentials_type):
+ self.browser.credentials.LoginNoLongerNeeded(credentials_type, self)
« no previous file with comments | « tools/chrome_remote_control/chrome_remote_control/page_set.py ('k') | tools/gpu/page_sets/2012Q3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698