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

Unified Diff: content/browser/android/url_request_content_job_unittest.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/browser/android/url_request_content_job.h ('k') | content/browser/appcache/appcache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/url_request_content_job_unittest.cc
diff --git a/content/browser/android/url_request_content_job_unittest.cc b/content/browser/android/url_request_content_job_unittest.cc
index 124b24a5e02dc65482083e13991ff07486d93173..c87f7e151267c03ef832e7c03bbdfab8d83e3520 100644
--- a/content/browser/android/url_request_content_job_unittest.cc
+++ b/content/browser/android/url_request_content_job_unittest.cc
@@ -7,9 +7,9 @@
#include <stdint.h>
#include <algorithm>
+#include <memory>
#include "base/files/file_util.h"
-#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_file_util.h"
@@ -149,7 +149,7 @@ void URLRequestContentJobTest::RunRequest(const Range* range) {
CallbacksJobFactory factory(path, &observer_);
context_.set_job_factory(&factory);
- scoped_ptr<net::URLRequest> request(context_.CreateRequest(
+ std::unique_ptr<net::URLRequest> request(context_.CreateRequest(
GURL(path.value()), net::DEFAULT_PRIORITY, &delegate_));
int expected_length = file_size;
if (range) {
« no previous file with comments | « content/browser/android/url_request_content_job.h ('k') | content/browser/appcache/appcache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698