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

Unified Diff: chrome/browser/net/proxy_service_factory.cc

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Lots of fixes driven by try jobs. 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: chrome/browser/net/proxy_service_factory.cc
diff --git a/chrome/browser/net/proxy_service_factory.cc b/chrome/browser/net/proxy_service_factory.cc
index 7ec1ac30ffbabacfe337518d51228ac58ea12092..1482f0feccac8a80ef042497029b0659e151f9ee 100644
--- a/chrome/browser/net/proxy_service_factory.cc
+++ b/chrome/browser/net/proxy_service_factory.cc
@@ -110,7 +110,7 @@ ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState(
}
// static
-net::ProxyService* ProxyServiceFactory::CreateProxyService(
+scoped_ptr<net::ProxyService> ProxyServiceFactory::CreateProxyService(
net::NetLog* net_log,
net::URLRequestContext* context,
net::NetworkDelegate* network_delegate,
@@ -147,7 +147,7 @@ net::ProxyService* ProxyServiceFactory::CreateProxyService(
}
}
- net::ProxyService* proxy_service = NULL;
+ scoped_ptr<net::ProxyService> proxy_service;
if (use_v8) {
#if defined(OS_IOS)
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698