| OLD | NEW |
| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1143 // input: none | 1143 // input: none |
| 1144 // output: { "version": 1 } | 1144 // output: { "version": 1 } |
| 1145 void GetChromeDriverAutomationVersion(base::DictionaryValue* args, | 1145 void GetChromeDriverAutomationVersion(base::DictionaryValue* args, |
| 1146 IPC::Message* message); | 1146 IPC::Message* message); |
| 1147 | 1147 |
| 1148 // Auto-updates installed extensions. | 1148 // Auto-updates installed extensions. |
| 1149 // Uses the JSON interface for input/output. | 1149 // Uses the JSON interface for input/output. |
| 1150 void UpdateExtensionsNow(base::DictionaryValue* args, | 1150 void UpdateExtensionsNow(base::DictionaryValue* args, |
| 1151 IPC::Message* reply_message); | 1151 IPC::Message* reply_message); |
| 1152 | 1152 |
| 1153 // Creates a new |TestingAutomationProvider| that opens a server channel |
| 1154 // for the given |channel_id|. |
| 1155 // Example: |
| 1156 // input: { "channel_id": "testChannel123" } |
| 1157 // output: none |
| 1158 void CreateNewAutomationProvider(base::DictionaryValue* args, |
| 1159 IPC::Message* reply_message); |
| 1160 |
| 1153 #if defined(OS_CHROMEOS) | 1161 #if defined(OS_CHROMEOS) |
| 1154 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); | 1162 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1155 | 1163 |
| 1156 void ShowCreateAccountUI(base::DictionaryValue* args, | 1164 void ShowCreateAccountUI(base::DictionaryValue* args, |
| 1157 IPC::Message* reply_message); | 1165 IPC::Message* reply_message); |
| 1158 | 1166 |
| 1159 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); | 1167 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1160 | 1168 |
| 1161 void Login(base::DictionaryValue* args, IPC::Message* reply_message); | 1169 void Login(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1162 | 1170 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 // Used to enumerate browser profiles. | 1300 // Used to enumerate browser profiles. |
| 1293 scoped_refptr<ImporterList> importer_list_; | 1301 scoped_refptr<ImporterList> importer_list_; |
| 1294 | 1302 |
| 1295 // The stored data for the ImportSettings operation. | 1303 // The stored data for the ImportSettings operation. |
| 1296 ImportSettingsData import_settings_data_; | 1304 ImportSettingsData import_settings_data_; |
| 1297 | 1305 |
| 1298 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1306 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1299 }; | 1307 }; |
| 1300 | 1308 |
| 1301 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1309 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |