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 // The server channel will be available for connection when this returns. | |
1156 // Example: | |
1157 // input: { "channel_id": "testChannel123" } | |
1158 void CreateNewAutomationProvider(base::DictionaryValue* args, | |
1159 IPC::Message* reply_message); | |
1160 | |
1161 #if defined(OS_CHROMEOS) | 1153 #if defined(OS_CHROMEOS) |
1162 // Login. | 1154 // Login. |
1163 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); | 1155 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
1164 | 1156 |
1165 void ShowCreateAccountUI(base::DictionaryValue* args, | 1157 void ShowCreateAccountUI(base::DictionaryValue* args, |
1166 IPC::Message* reply_message); | 1158 IPC::Message* reply_message); |
1167 | 1159 |
1168 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); | 1160 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); |
1169 | 1161 |
1170 void Login(base::DictionaryValue* args, IPC::Message* reply_message); | 1162 void Login(base::DictionaryValue* args, IPC::Message* reply_message); |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 // Used to enumerate browser profiles. | 1312 // Used to enumerate browser profiles. |
1321 scoped_refptr<ImporterList> importer_list_; | 1313 scoped_refptr<ImporterList> importer_list_; |
1322 | 1314 |
1323 // The stored data for the ImportSettings operation. | 1315 // The stored data for the ImportSettings operation. |
1324 ImportSettingsData import_settings_data_; | 1316 ImportSettingsData import_settings_data_; |
1325 | 1317 |
1326 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1318 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1327 }; | 1319 }; |
1328 | 1320 |
1329 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1321 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |