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

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

Issue 6732040: PyAuto automation hooks: blocking wifi connect, disconnect, and network scan. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes per comments. Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 976
977 void LockScreen(DictionaryValue* args, IPC::Message* reply_message); 977 void LockScreen(DictionaryValue* args, IPC::Message* reply_message);
978 978
979 void UnlockScreen(DictionaryValue* args, IPC::Message* reply_message); 979 void UnlockScreen(DictionaryValue* args, IPC::Message* reply_message);
980 980
981 void SignoutInScreenLocker(DictionaryValue* args, 981 void SignoutInScreenLocker(DictionaryValue* args,
982 IPC::Message* reply_message); 982 IPC::Message* reply_message);
983 983
984 void GetNetworkInfo(DictionaryValue* args, IPC::Message* reply_message); 984 void GetNetworkInfo(DictionaryValue* args, IPC::Message* reply_message);
985 985
986 void NetworkScan(DictionaryValue* args, IPC::Message* reply_message);
987
986 void ConnectToWifiNetwork(DictionaryValue* args, IPC::Message* reply_message); 988 void ConnectToWifiNetwork(DictionaryValue* args, IPC::Message* reply_message);
989
990 void DisconnectFromWifiNetwork(DictionaryValue* args,
991 IPC::Message* reply_message);
987 #endif // defined(OS_CHROMEOS) 992 #endif // defined(OS_CHROMEOS)
988 993
989 void WaitForTabCountToBecome(int browser_handle, 994 void WaitForTabCountToBecome(int browser_handle,
990 int target_tab_count, 995 int target_tab_count,
991 IPC::Message* reply_message); 996 IPC::Message* reply_message);
992 997
993 void WaitForInfoBarCount(int tab_handle, 998 void WaitForInfoBarCount(int tab_handle,
994 size_t target_count, 999 size_t target_count,
995 IPC::Message* reply_message); 1000 IPC::Message* reply_message);
996 1001
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 // Used to enumerate browser profiles. 1054 // Used to enumerate browser profiles.
1050 scoped_refptr<ImporterList> importer_list_; 1055 scoped_refptr<ImporterList> importer_list_;
1051 1056
1052 // The stored data for the ImportSettings operation. 1057 // The stored data for the ImportSettings operation.
1053 ImportSettingsData import_settings_data_; 1058 ImportSettingsData import_settings_data_;
1054 1059
1055 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1060 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1056 }; 1061 };
1057 1062
1058 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1063 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698