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

Unified Diff: content/browser/webui/url_data_manager_backend.h

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/webui/url_data_manager_backend.h
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h
index 0e312aab26cb962965d5b9160bfad74e00f32181..fc8d702af82b3203e7ee91d0a0ad39572e3fe9df 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -6,12 +6,12 @@
#define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
#include "content/browser/webui/url_data_manager.h"
#include "content/public/browser/url_data_source.h"
@@ -43,7 +43,8 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// Invoked to create the protocol handler for chrome://. |is_incognito| should
// be set for incognito profiles. Called on the UI thread.
- CONTENT_EXPORT static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
+ CONTENT_EXPORT static std::unique_ptr<
+ net::URLRequestJobFactory::ProtocolHandler>
CreateProtocolHandler(content::ResourceContext* resource_context,
bool is_incognito,
ChromeBlobStorageContext* blob_storage_context);
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac_unittest.mm ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698