OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_PROXY_PROXY_SERVICE_V8_H_ | 5 #ifndef NET_PROXY_PROXY_SERVICE_V8_H_ |
6 #define NET_PROXY_PROXY_SERVICE_V8_H_ | 6 #define NET_PROXY_PROXY_SERVICE_V8_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
10 | 10 |
| 11 namespace v8 { |
| 12 class Isolate; |
| 13 } // namespace v8 |
| 14 |
11 namespace net { | 15 namespace net { |
12 | 16 |
13 class DhcpProxyScriptFetcher; | 17 class DhcpProxyScriptFetcher; |
14 class HostResolver; | 18 class HostResolver; |
15 class NetLog; | 19 class NetLog; |
16 class NetworkDelegate; | 20 class NetworkDelegate; |
17 class ProxyConfigService; | 21 class ProxyConfigService; |
18 class ProxyScriptFetcher; | 22 class ProxyScriptFetcher; |
19 class ProxyService; | 23 class ProxyService; |
20 | 24 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // # multi-threading model. In order for this to be safe to use, *ALL* the | 56 // # multi-threading model. In order for this to be safe to use, *ALL* the |
53 // # other V8's running in the process must use v8::Locker. | 57 // # other V8's running in the process must use v8::Locker. |
54 // ########################################################################## | 58 // ########################################################################## |
55 NET_EXPORT ProxyService* CreateProxyServiceUsingV8ProxyResolver( | 59 NET_EXPORT ProxyService* CreateProxyServiceUsingV8ProxyResolver( |
56 ProxyConfigService* proxy_config_service, | 60 ProxyConfigService* proxy_config_service, |
57 size_t num_pac_threads, | 61 size_t num_pac_threads, |
58 ProxyScriptFetcher* proxy_script_fetcher, | 62 ProxyScriptFetcher* proxy_script_fetcher, |
59 DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher, | 63 DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher, |
60 HostResolver* host_resolver, | 64 HostResolver* host_resolver, |
61 NetLog* net_log, | 65 NetLog* net_log, |
62 NetworkDelegate* network_delegate); | 66 NetworkDelegate* network_delegate, |
| 67 v8::Isolate* v8_default_isolate); |
63 | 68 |
64 } // namespace net | 69 } // namespace net |
65 | 70 |
66 #endif // NET_PROXY_PROXY_SERVICE_V8_H_ | 71 #endif // NET_PROXY_PROXY_SERVICE_V8_H_ |
OLD | NEW |