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 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 // Accepts or declines EULA, moving forward or back from EULA screen. | 1434 // Accepts or declines EULA, moving forward or back from EULA screen. |
1435 // Example: | 1435 // Example: |
1436 // input: { "accepted": true, "usage_stats_reporting": false } | 1436 // input: { "accepted": true, "usage_stats_reporting": false } |
1437 // output: { "next_screen": "update" } | 1437 // output: { "next_screen": "update" } |
1438 void AcceptOOBEEula(base::DictionaryValue* args, IPC::Message* reply_message); | 1438 void AcceptOOBEEula(base::DictionaryValue* args, IPC::Message* reply_message); |
1439 | 1439 |
1440 // Forces the ongoing update to cancel and proceed to the login screen. | 1440 // Forces the ongoing update to cancel and proceed to the login screen. |
1441 // Example: | 1441 // Example: |
1442 // input: none | 1442 // input: none |
1443 // output: { "next_screen": "login" } | 1443 // output: { "next_screen": "login" } |
1444 // output: none (if update was not running) | |
1445 void CancelOOBEUpdate(base::DictionaryValue* args, | 1444 void CancelOOBEUpdate(base::DictionaryValue* args, |
1446 IPC::Message* reply_message); | 1445 IPC::Message* reply_message); |
1447 | 1446 |
1448 // Chooses user image on the image picker screen and starts browser session. | 1447 // Chooses user image on the image picker screen and starts browser session. |
1449 // Example: | 1448 // Example: |
1450 // input: { "image": "profile" } - Google profile image | 1449 // input: { "image": "profile" } - Google profile image |
1451 // input: { "image": 2 } - default image number 2 (0-based) | 1450 // input: { "image": 2 } - default image number 2 (0-based) |
1452 // output: { "next_screen": "session" } | 1451 // output: { "next_screen": "session" } |
1453 void PickUserImage(base::DictionaryValue* args, IPC::Message* reply_message); | 1452 void PickUserImage(base::DictionaryValue* args, IPC::Message* reply_message); |
1454 | 1453 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1653 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1655 | 1654 |
1656 // List of commands which just finish synchronously and don't require | 1655 // List of commands which just finish synchronously and don't require |
1657 // setting up an observer. | 1656 // setting up an observer. |
1658 static const int kSynchronousCommands[]; | 1657 static const int kSynchronousCommands[]; |
1659 | 1658 |
1660 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1659 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1661 }; | 1660 }; |
1662 | 1661 |
1663 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1662 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |