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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 10821031: [cros] pyauto.CancelOOBEUpdate always returns a non-empty dict with 'next_screen'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698