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

Unified Diff: net/proxy/proxy_service_mojo.h

Issue 1301333002: make ProxyService::CreateSystemProxyConfigService return scoped_ptrs NOT FOR REVIEW (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non linux builds Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_service_mojo.h
diff --git a/net/proxy/proxy_service_mojo.h b/net/proxy/proxy_service_mojo.h
index 8757421ef6a9e3c2866e37567958c9651ac77050..adcf04f77b3b08388ebcc2b70c3e5eb70fbf410a 100644
--- a/net/proxy/proxy_service_mojo.h
+++ b/net/proxy/proxy_service_mojo.h
@@ -6,6 +6,7 @@
#define NET_PROXY_PROXY_SERVICE_MOJO_H_
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
namespace net {
namespace interfaces {
@@ -38,7 +39,7 @@ class ProxyService;
// lifetime of the ProxyService.
ProxyService* CreateProxyServiceUsingMojoFactory(
MojoProxyResolverFactory* mojo_proxy_factory,
- ProxyConfigService* proxy_config_service,
+ scoped_ptr<ProxyConfigService> proxy_config_service,
ProxyScriptFetcher* proxy_script_fetcher,
DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher,
HostResolver* host_resolver,
@@ -54,7 +55,7 @@ ProxyService* CreateProxyServiceUsingMojoFactory(
// # other V8's running in the process must use v8::Locker.
// ##########################################################################
ProxyService* CreateProxyServiceUsingMojoInProcess(
- ProxyConfigService* proxy_config_service,
+ scoped_ptr<ProxyConfigService> proxy_config_service,
ProxyScriptFetcher* proxy_script_fetcher,
DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher,
HostResolver* host_resolver,

Powered by Google App Engine
This is Rietveld 408576698