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_mojo.h

Issue 2625853002: Remove --v8-pac-mojo-in-process (Closed)
Patch Set: test Created 3 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
« no previous file with comments | « net/proxy/in_process_mojo_proxy_resolver_factory.cc ('k') | net/proxy/proxy_service_mojo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MOJO_H_ 5 #ifndef NET_PROXY_PROXY_SERVICE_MOJO_H_
6 #define NET_PROXY_PROXY_SERVICE_MOJO_H_ 6 #define NET_PROXY_PROXY_SERVICE_MOJO_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "net/proxy/dhcp_proxy_script_fetcher.h" 10 #include "net/proxy/dhcp_proxy_script_fetcher.h"
(...skipping 23 matching lines...) Expand all
34 // lifetime of the ProxyService. 34 // lifetime of the ProxyService.
35 std::unique_ptr<ProxyService> CreateProxyServiceUsingMojoFactory( 35 std::unique_ptr<ProxyService> CreateProxyServiceUsingMojoFactory(
36 MojoProxyResolverFactory* mojo_proxy_factory, 36 MojoProxyResolverFactory* mojo_proxy_factory,
37 std::unique_ptr<ProxyConfigService> proxy_config_service, 37 std::unique_ptr<ProxyConfigService> proxy_config_service,
38 ProxyScriptFetcher* proxy_script_fetcher, 38 ProxyScriptFetcher* proxy_script_fetcher,
39 std::unique_ptr<DhcpProxyScriptFetcher> dhcp_proxy_script_fetcher, 39 std::unique_ptr<DhcpProxyScriptFetcher> dhcp_proxy_script_fetcher,
40 HostResolver* host_resolver, 40 HostResolver* host_resolver,
41 NetLog* net_log, 41 NetLog* net_log,
42 NetworkDelegate* network_delegate); 42 NetworkDelegate* network_delegate);
43 43
44 // Creates a proxy service that connects to an in-process Mojo proxy resolver
45 // service. See above for information about other arguments.
46 //
47 // ##########################################################################
48 // # See the warnings in net/proxy/proxy_resolver_v8.h describing the
49 // # multi-threading model. In order for this to be safe to use, *ALL* the
50 // # other V8's running in the process must use v8::Locker.
51 // ##########################################################################
52 std::unique_ptr<ProxyService> CreateProxyServiceUsingMojoInProcess(
53 std::unique_ptr<ProxyConfigService> proxy_config_service,
54 ProxyScriptFetcher* proxy_script_fetcher,
55 std::unique_ptr<DhcpProxyScriptFetcher> dhcp_proxy_script_fetcher,
56 HostResolver* host_resolver,
57 NetLog* net_log,
58 NetworkDelegate* network_delegate);
59
60 } // namespace net 44 } // namespace net
61 45
62 #endif // NET_PROXY_PROXY_SERVICE_MOJO_H_ 46 #endif // NET_PROXY_PROXY_SERVICE_MOJO_H_
OLDNEW
« no previous file with comments | « net/proxy/in_process_mojo_proxy_resolver_factory.cc ('k') | net/proxy/proxy_service_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698