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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Sync'd to revision p349162. Created 5 years, 3 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
index 145b26778864ddd32b35acfe3971b9957d773e43..4492a870a0e6ac2945f5a1b93ef9e0c6af060fbe 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
@@ -210,9 +210,8 @@ class DataReductionProxyInterceptorWithServerTest : public testing::Test {
proxies_for_http.push_back(origin);
test_context_->config()->test_params()->SetProxiesForHttp(proxies_for_http);
std::string proxy_name = origin.ToURI();
- proxy_service_.reset(
- net::ProxyService::CreateFixedFromPacResult(
- "PROXY " + proxy_name + "; DIRECT"));
+ proxy_service_ = net::ProxyService::CreateFixedFromPacResult(
+ "PROXY " + proxy_name + "; DIRECT");
context_.set_proxy_service(proxy_service_.get());

Powered by Google App Engine
This is Rietveld 408576698