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

Unified Diff: net/test/url_request/url_request_failed_job.cc

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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/test/url_request/url_request_failed_job.cc
diff --git a/net/test/url_request/url_request_failed_job.cc b/net/test/url_request/url_request_failed_job.cc
index 890a06142616f9c72ad6e3d71406de63e4625cb9..3457dc88bed74b5553c1a2a946cceae77c744e97 100644
--- a/net/test/url_request/url_request_failed_job.cc
+++ b/net/test/url_request/url_request_failed_job.cc
@@ -136,10 +136,10 @@ void URLRequestFailedJob::AddUrlHandlerForHostname(
// Add |hostname| to URLRequestFilter for HTTP and HTTPS.
filter->AddHostnameInterceptor(
"http", hostname,
- scoped_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
filter->AddHostnameInterceptor(
"https", hostname,
- scoped_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
}
// static
« no previous file with comments | « net/test/url_request/ssl_certificate_error_job.cc ('k') | net/test/url_request/url_request_mock_data_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698