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

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 10533038: Switch back to the old method of launching the login flow while keeping some of the benefits of the… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Nirnimesh's comments and fixed chromeos_login.py to work with these changes. Created 8 years, 6 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 | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.h
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index b5192f7278e4d7db6b81f1a2c2de64bee8add71d..e6758a3fc078b59703bf67a20fffbece8f054db9 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1339,6 +1339,15 @@ class TestingAutomationProvider : public AutomationProvider,
void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message);
+ // Submits the Chrome OS login form. Watch for the login to complete using
+ // the AddLoginObserver and GetNextEvent commands.
+ // Example:
+ // input: { "username": "user@gmail.com",
+ // "password": "fakepassword",
+ // }
+ void SubmitLoginForm(base::DictionaryValue* args,
+ IPC::Message* reply_message);
+
void AddLoginEventObserver(DictionaryValue* args,
IPC::Message* reply_message);
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698