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

Unified Diff: net/test/url_request/url_request_slow_download_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
« no previous file with comments | « net/test/url_request/url_request_mock_http_job.cc ('k') | net/tools/balsa/balsa_frame_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/url_request/url_request_slow_download_job.cc
diff --git a/net/test/url_request/url_request_slow_download_job.cc b/net/test/url_request/url_request_slow_download_job.cc
index ac4beb07530dd317e79f18e2ffb0519c28c83682..890f80549ebd743b22c4a39fe0dcf1f51d791b5d 100644
--- a/net/test/url_request/url_request_slow_download_job.cc
+++ b/net/test/url_request/url_request_slow_download_job.cc
@@ -72,16 +72,16 @@ void URLRequestSlowDownloadJob::AddUrlHandler() {
URLRequestFilter* filter = URLRequestFilter::GetInstance();
filter->AddUrlInterceptor(
GURL(kUnknownSizeUrl),
- scoped_ptr<URLRequestInterceptor>(new Interceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new Interceptor()));
filter->AddUrlInterceptor(
GURL(kKnownSizeUrl),
- scoped_ptr<URLRequestInterceptor>(new Interceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new Interceptor()));
filter->AddUrlInterceptor(
GURL(kFinishDownloadUrl),
- scoped_ptr<URLRequestInterceptor>(new Interceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new Interceptor()));
filter->AddUrlInterceptor(
GURL(kErrorDownloadUrl),
- scoped_ptr<URLRequestInterceptor>(new Interceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new Interceptor()));
}
// static
« no previous file with comments | « net/test/url_request/url_request_mock_http_job.cc ('k') | net/tools/balsa/balsa_frame_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698