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

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

Issue 10827050: Added a timezone policy and pyauto tests for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
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 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 1594
1595 void SetMute(base::DictionaryValue* args, IPC::Message* reply_message); 1595 void SetMute(base::DictionaryValue* args, IPC::Message* reply_message);
1596 1596
1597 void CaptureProfilePhoto(Browser* browser, 1597 void CaptureProfilePhoto(Browser* browser,
1598 DictionaryValue* args, 1598 DictionaryValue* args,
1599 IPC::Message* reply_message); 1599 IPC::Message* reply_message);
1600 1600
1601 // Html terminal. 1601 // Html terminal.
1602 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message); 1602 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message);
1603 1603
1604 // Set ChromeOS Settings.
1605 // Uses the JSON interface for input/output.
1606 // Sample json input:
1607 // { "command": "SetCrosSetting",
1608 // "path": path,
1609 // "value": value }
1610 void SetCrosSetting(base::DictionaryValue* args, IPC::Message* reply_message);
Joao da Silva 2012/07/27 13:40:57 This is a big hammer. We previously had a similar
pneubeck (no reviews) 2012/07/31 22:21:05 The idea of this definition was to change chromeos
pneubeck (no reviews) 2012/08/06 14:50:48 Done.
1611
1604 void AddChromeosObservers(); 1612 void AddChromeosObservers();
1605 void RemoveChromeosObservers(); 1613 void RemoveChromeosObservers();
1606 1614
1607 #endif // defined(OS_CHROMEOS) 1615 #endif // defined(OS_CHROMEOS)
1608 1616
1609 void WaitForTabCountToBecome(int browser_handle, 1617 void WaitForTabCountToBecome(int browser_handle,
1610 int target_tab_count, 1618 int target_tab_count,
1611 IPC::Message* reply_message); 1619 IPC::Message* reply_message);
1612 1620
1613 void WaitForInfoBarCount(int tab_handle, 1621 void WaitForInfoBarCount(int tab_handle,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1662 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1655 1663
1656 // List of commands which just finish synchronously and don't require 1664 // List of commands which just finish synchronously and don't require
1657 // setting up an observer. 1665 // setting up an observer.
1658 static const int kSynchronousCommands[]; 1666 static const int kSynchronousCommands[];
1659 1667
1660 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1668 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1661 }; 1669 };
1662 1670
1663 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1671 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698