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

Unified Diff: content/public/browser/android/content_protocol_handler.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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/ppapi_plugin/ppapi_thread.h ('k') | content/public/browser/android/provision_fetcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/content_protocol_handler.h
diff --git a/content/public/browser/android/content_protocol_handler.h b/content/public/browser/android/content_protocol_handler.h
index 74a564f2ae565860e910376100ffe6cf18c00510..d19e38622254caee90300d1dc43c4e3ac48244f2 100644
--- a/content/public/browser/android/content_protocol_handler.h
+++ b/content/public/browser/android/content_protocol_handler.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
#define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "net/url_request/url_request_job_factory.h"
@@ -21,7 +22,7 @@ class CONTENT_EXPORT ContentProtocolHandler :
public net::URLRequestJobFactory::ProtocolHandler {
public:
// Creates and returns a ContentProtocolHandler instance.
- static scoped_ptr<ContentProtocolHandler> Create(
+ static std::unique_ptr<ContentProtocolHandler> Create(
const scoped_refptr<base::TaskRunner>& content_task_runner);
~ContentProtocolHandler() override {}
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.h ('k') | content/public/browser/android/provision_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698