Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: net/proxy/proxy_service_v8.h

Issue 11959029: Make the v8 Isolate used in the proxy resolver explicit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed component build Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698