Index: net/test/url_request/url_request_mock_http_job.cc |
diff --git a/net/test/url_request/url_request_mock_http_job.cc b/net/test/url_request/url_request_mock_http_job.cc |
index cf2cc6c8d8f2284844639e4005efbc138007eabe..bd8930624116a64573cec0dfe0f30e25f7df071d 100644 |
--- a/net/test/url_request/url_request_mock_http_job.cc |
+++ b/net/test/url_request/url_request_mock_http_job.cc |
@@ -120,19 +120,19 @@ GURL URLRequestMockHTTPJob::GetMockHttpsUrl(const std::string& path) { |
} |
// static |
-scoped_ptr<URLRequestInterceptor> URLRequestMockHTTPJob::CreateInterceptor( |
+std::unique_ptr<URLRequestInterceptor> URLRequestMockHTTPJob::CreateInterceptor( |
const base::FilePath& base_path, |
const scoped_refptr<base::SequencedWorkerPool>& worker_pool) { |
- return scoped_ptr<URLRequestInterceptor>( |
+ return std::unique_ptr<URLRequestInterceptor>( |
new MockJobInterceptor(base_path, false, worker_pool)); |
} |
// static |
-scoped_ptr<URLRequestInterceptor> |
+std::unique_ptr<URLRequestInterceptor> |
URLRequestMockHTTPJob::CreateInterceptorForSingleFile( |
const base::FilePath& file, |
const scoped_refptr<base::SequencedWorkerPool>& worker_pool) { |
- return scoped_ptr<URLRequestInterceptor>( |
+ return std::unique_ptr<URLRequestInterceptor>( |
new MockJobInterceptor(file, true, worker_pool)); |
} |