| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 void GetBatteryInfo(base::DictionaryValue* args, IPC::Message* reply_message); | 1312 void GetBatteryInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1313 | 1313 |
| 1314 // Network. | 1314 // Network. |
| 1315 void GetNetworkInfo(base::DictionaryValue* args, IPC::Message* reply_message); | 1315 void GetNetworkInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1316 | 1316 |
| 1317 void NetworkScan(base::DictionaryValue* args, IPC::Message* reply_message); | 1317 void NetworkScan(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1318 | 1318 |
| 1319 void ToggleNetworkDevice(base::DictionaryValue* args, | 1319 void ToggleNetworkDevice(base::DictionaryValue* args, |
| 1320 IPC::Message* reply_message); | 1320 IPC::Message* reply_message); |
| 1321 | 1321 |
| 1322 void SetProxySettings(base::DictionaryValue* args, | |
| 1323 IPC::Message* reply_message); | |
| 1324 | |
| 1325 void SetSharedProxies(base::DictionaryValue* args, | |
| 1326 IPC::Message* reply_message); | |
| 1327 | |
| 1328 void ConnectToCellularNetwork(base::DictionaryValue* args, | |
| 1329 IPC::Message* reply_message); | |
| 1330 | |
| 1331 void DisconnectFromCellularNetwork(base::DictionaryValue* args, | |
| 1332 IPC::Message* reply_message); | |
| 1333 | |
| 1334 void ConnectToWifiNetwork(base::DictionaryValue* args, | |
| 1335 IPC::Message* reply_message); | |
| 1336 | |
| 1337 void ConnectToHiddenWifiNetwork(base::DictionaryValue* args, | |
| 1338 IPC::Message* reply_message); | |
| 1339 | |
| 1340 void DisconnectFromWifiNetwork(base::DictionaryValue* args, | |
| 1341 IPC::Message* reply_message); | |
| 1342 | |
| 1343 void ForgetWifiNetwork(DictionaryValue* args, IPC::Message* reply_message); | 1322 void ForgetWifiNetwork(DictionaryValue* args, IPC::Message* reply_message); |
| 1344 | 1323 |
| 1345 // VPN. | |
| 1346 void AddPrivateNetwork(DictionaryValue* args, IPC::Message* reply_message); | |
| 1347 | |
| 1348 void GetPrivateNetworkInfo(base::DictionaryValue* args, | |
| 1349 IPC::Message* reply_message); | |
| 1350 | |
| 1351 void ConnectToPrivateNetwork(base::DictionaryValue* args, | |
| 1352 IPC::Message* reply_message); | |
| 1353 | |
| 1354 void DisconnectFromPrivateNetwork(base::DictionaryValue* args, | |
| 1355 IPC::Message* reply_message); | |
| 1356 | |
| 1357 // Accessibility. | 1324 // Accessibility. |
| 1358 void EnableSpokenFeedback(DictionaryValue* args, IPC::Message* reply_message); | 1325 void EnableSpokenFeedback(DictionaryValue* args, IPC::Message* reply_message); |
| 1359 | 1326 |
| 1360 void IsSpokenFeedbackEnabled(DictionaryValue* args, | 1327 void IsSpokenFeedbackEnabled(DictionaryValue* args, |
| 1361 IPC::Message* reply_message); | 1328 IPC::Message* reply_message); |
| 1362 | 1329 |
| 1363 // Time. | 1330 // Time. |
| 1364 void GetTimeInfo(Browser* browser, base::DictionaryValue* args, | 1331 void GetTimeInfo(Browser* browser, base::DictionaryValue* args, |
| 1365 IPC::Message* reply_message); | 1332 IPC::Message* reply_message); |
| 1366 | 1333 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1423 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1390 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1424 | 1391 |
| 1425 // List of commands which just finish synchronously and don't require | 1392 // List of commands which just finish synchronously and don't require |
| 1426 // setting up an observer. | 1393 // setting up an observer. |
| 1427 static const int kSynchronousCommands[]; | 1394 static const int kSynchronousCommands[]; |
| 1428 | 1395 |
| 1429 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1396 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1430 }; | 1397 }; |
| 1431 | 1398 |
| 1432 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1399 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |