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

Unified Diff: content/browser/android/content_protocol_handler_impl.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
Index: content/browser/android/content_protocol_handler_impl.cc
diff --git a/content/browser/android/content_protocol_handler_impl.cc b/content/browser/android/content_protocol_handler_impl.cc
index 8f8b13a435d412b97cb88436bf21a1a62dd84209..143dc304e6e1f04c698ef4dce6111d94644069e0 100644
--- a/content/browser/android/content_protocol_handler_impl.cc
+++ b/content/browser/android/content_protocol_handler_impl.cc
@@ -4,6 +4,7 @@
#include "content/browser/android/content_protocol_handler_impl.h"
+#include "base/memory/ptr_util.h"
#include "base/task_runner.h"
#include "content/browser/android/url_request_content_job.h"
#include "net/base/net_errors.h"
@@ -13,9 +14,9 @@
namespace content {
// static
-scoped_ptr<ContentProtocolHandler> ContentProtocolHandler::Create(
+std::unique_ptr<ContentProtocolHandler> ContentProtocolHandler::Create(
const scoped_refptr<base::TaskRunner>& content_task_runner) {
- return make_scoped_ptr(new ContentProtocolHandlerImpl(content_task_runner));
+ return base::WrapUnique(new ContentProtocolHandlerImpl(content_task_runner));
}
ContentProtocolHandlerImpl::ContentProtocolHandlerImpl(
« no previous file with comments | « content/browser/android/child_process_launcher_android.cc ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698