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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/browser.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 | « no previous file | tools/chrome_remote_control/chrome_remote_control/browser_credentials.py » ('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/browser.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/browser.py b/tools/chrome_remote_control/chrome_remote_control/browser.py
index 334853301e2e2758475053942fb45c44ba46288b..a100bd9a75b70c5b876a8028d916db272d20bf52 100644
--- a/tools/chrome_remote_control/chrome_remote_control/browser.py
+++ b/tools/chrome_remote_control/chrome_remote_control/browser.py
@@ -5,6 +5,7 @@ import os
from chrome_remote_control import replay_server
from chrome_remote_control import temporary_http_server
+from chrome_remote_control import browser_credentials
class Browser(object):
"""A running browser instance that can be controlled in a limited way.
@@ -19,6 +20,7 @@ class Browser(object):
"""
def __init__(self, backend):
self._backend = backend
+ self.credentials = browser_credentials.BrowserCredentials()
def __enter__(self):
return self
@@ -43,6 +45,7 @@ class Browser(object):
def Close(self):
self._backend.Close()
+ self.credentials = None
def CreateTemporaryHTTPServer(self, path):
return temporary_http_server.TemporaryHTTPServer(self._backend, path)
« no previous file with comments | « no previous file | tools/chrome_remote_control/chrome_remote_control/browser_credentials.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698