OLD | NEW |
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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 // output: { "screen_name": "network" } | 1442 // output: { "screen_name": "network" } |
1443 // output: none (when already logged in) | 1443 // output: none (when already logged in) |
1444 void GetOOBEScreenInfo(DictionaryValue* args, IPC::Message* reply_message); | 1444 void GetOOBEScreenInfo(DictionaryValue* args, IPC::Message* reply_message); |
1445 | 1445 |
1446 // Login / Logout. | 1446 // Login / Logout. |
1447 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); | 1447 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
1448 | 1448 |
1449 void ShowCreateAccountUI(base::DictionaryValue* args, | 1449 void ShowCreateAccountUI(base::DictionaryValue* args, |
1450 IPC::Message* reply_message); | 1450 IPC::Message* reply_message); |
1451 | 1451 |
| 1452 void LoginWithCachedCredentials(base::DictionaryValue* args, |
| 1453 IPC::Message* reply_message); |
| 1454 |
1452 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); | 1455 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); |
1453 | 1456 |
1454 // Submits the Chrome OS login form. Watch for the login to complete using | 1457 // Submits the Chrome OS login form. Watch for the login to complete using |
1455 // the AddLoginObserver and GetNextEvent commands. | 1458 // the AddLoginObserver and GetNextEvent commands. |
1456 // Example: | 1459 // Example: |
1457 // input: { "username": "user@gmail.com", | 1460 // input: { "username": "user@gmail.com", |
1458 // "password": "fakepassword", | 1461 // "password": "fakepassword", |
1459 // } | 1462 // } |
1460 void SubmitLoginForm(base::DictionaryValue* args, | 1463 void SubmitLoginForm(base::DictionaryValue* args, |
1461 IPC::Message* reply_message); | 1464 IPC::Message* reply_message); |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1635 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1633 | 1636 |
1634 // List of commands which just finish synchronously and don't require | 1637 // List of commands which just finish synchronously and don't require |
1635 // setting up an observer. | 1638 // setting up an observer. |
1636 static const int kSynchronousCommands[]; | 1639 static const int kSynchronousCommands[]; |
1637 | 1640 |
1638 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1641 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1639 }; | 1642 }; |
1640 | 1643 |
1641 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1644 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |