OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... | |
28 class PortServer; | 28 class PortServer; |
29 class Status; | 29 class Status; |
30 class URLRequestContextGetter; | 30 class URLRequestContextGetter; |
31 | 31 |
32 Status LaunchChrome( | 32 Status LaunchChrome( |
33 URLRequestContextGetter* context_getter, | 33 URLRequestContextGetter* context_getter, |
34 const SyncWebSocketFactory& socket_factory, | 34 const SyncWebSocketFactory& socket_factory, |
35 DeviceManager* device_manager, | 35 DeviceManager* device_manager, |
36 PortServer* port_server, | 36 PortServer* port_server, |
37 PortManager* port_manager, | 37 PortManager* port_manager, |
38 PortManager* port_manager_android, | |
craigdh
2014/01/08 20:56:33
Instead of two PortManager objects, I think it wou
| |
38 const Capabilities& capabilities, | 39 const Capabilities& capabilities, |
39 ScopedVector<DevToolsEventListener>& devtools_event_listeners, | 40 ScopedVector<DevToolsEventListener>& devtools_event_listeners, |
40 scoped_ptr<Chrome>* chrome); | 41 scoped_ptr<Chrome>* chrome); |
41 | 42 |
42 namespace internal { | 43 namespace internal { |
43 Status ProcessExtensions(const std::vector<std::string>& extensions, | 44 Status ProcessExtensions(const std::vector<std::string>& extensions, |
44 const base::FilePath& temp_dir, | 45 const base::FilePath& temp_dir, |
45 bool include_automation_extension, | 46 bool include_automation_extension, |
46 Switches* switches, | 47 Switches* switches, |
47 std::vector<std::string>* bg_pages); | 48 std::vector<std::string>* bg_pages); |
48 Status PrepareUserDataDir( | 49 Status PrepareUserDataDir( |
49 const base::FilePath& user_data_dir, | 50 const base::FilePath& user_data_dir, |
50 const base::DictionaryValue* custom_prefs, | 51 const base::DictionaryValue* custom_prefs, |
51 const base::DictionaryValue* custom_local_state); | 52 const base::DictionaryValue* custom_local_state); |
52 } // namespace internal | 53 } // namespace internal |
53 | 54 |
54 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ | 55 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_H_ |
OLD | NEW |