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

Unified Diff: net/test/url_request/ssl_certificate_error_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/ssl_certificate_error_job.cc
diff --git a/net/test/url_request/ssl_certificate_error_job.cc b/net/test/url_request/ssl_certificate_error_job.cc
index 83e7fd0c0a7420e5844c535726c45508450937c3..2d6fd754e034251fe9129c0784ebbdee85d3eded 100644
--- a/net/test/url_request/ssl_certificate_error_job.cc
+++ b/net/test/url_request/ssl_certificate_error_job.cc
@@ -55,7 +55,7 @@ void SSLCertificateErrorJob::AddUrlHandler() {
URLRequestFilter* filter = URLRequestFilter::GetInstance();
filter->AddHostnameInterceptor(
"https", kMockHostname,
- scoped_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
+ std::unique_ptr<URLRequestInterceptor>(new MockJobInterceptor()));
}
GURL SSLCertificateErrorJob::GetMockUrl() {
« no previous file with comments | « net/test/spawned_test_server/spawner_communicator.cc ('k') | net/test/url_request/url_request_failed_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698