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_SESSION_COMMANDS_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 struct Session; | 23 struct Session; |
24 class Status; | 24 class Status; |
25 class URLRequestContextGetter; | 25 class URLRequestContextGetter; |
26 | 26 |
27 struct InitSessionParams { | 27 struct InitSessionParams { |
28 InitSessionParams(scoped_refptr<URLRequestContextGetter> context_getter, | 28 InitSessionParams(scoped_refptr<URLRequestContextGetter> context_getter, |
29 const SyncWebSocketFactory& socket_factory, | 29 const SyncWebSocketFactory& socket_factory, |
30 DeviceManager* device_manager, | 30 DeviceManager* device_manager, |
31 PortServer* port_server, | 31 PortServer* port_server, |
32 PortManager* port_manager); | 32 PortManager* port_manager); |
| 33 InitSessionParams(const InitSessionParams& other); |
33 ~InitSessionParams(); | 34 ~InitSessionParams(); |
34 | 35 |
35 scoped_refptr<URLRequestContextGetter> context_getter; | 36 scoped_refptr<URLRequestContextGetter> context_getter; |
36 SyncWebSocketFactory socket_factory; | 37 SyncWebSocketFactory socket_factory; |
37 DeviceManager* device_manager; | 38 DeviceManager* device_manager; |
38 PortServer* port_server; | 39 PortServer* port_server; |
39 PortManager* port_manager; | 40 PortManager* port_manager; |
40 }; | 41 }; |
41 | 42 |
42 // Initializes a session. | 43 // Initializes a session. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 Session* session, | 168 Session* session, |
168 const base::DictionaryValue& params, | 169 const base::DictionaryValue& params, |
169 scoped_ptr<base::Value>* value); | 170 scoped_ptr<base::Value>* value); |
170 | 171 |
171 Status ExecuteSetAutoReporting( | 172 Status ExecuteSetAutoReporting( |
172 Session* session, | 173 Session* session, |
173 const base::DictionaryValue& params, | 174 const base::DictionaryValue& params, |
174 scoped_ptr<base::Value>* value); | 175 scoped_ptr<base::Value>* value); |
175 | 176 |
176 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ | 177 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ |
OLD | NEW |