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

Unified Diff: extensions/browser/blob_holder.h

Issue 1909773002: Convert //extensions/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 | « extensions/browser/app_window/test_app_window_contents.h ('k') | extensions/browser/blob_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/blob_holder.h
diff --git a/extensions/browser/blob_holder.h b/extensions/browser/blob_holder.h
index efaed9280742fdee7c9c00596f54d7a12dbe661b..68e519d608c32977fc2cc2c0564e407118805b72 100644
--- a/extensions/browser/blob_holder.h
+++ b/extensions/browser/blob_holder.h
@@ -6,12 +6,12 @@
#define EXTENSIONS_BROWSER_BLOB_HOLDER_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
namespace content {
@@ -34,7 +34,7 @@ class BlobHolder : public base::SupportsUserData::Data {
~BlobHolder() override;
// Causes BlobHolder to take ownership of |blob|.
- void HoldBlobReference(scoped_ptr<content::BlobHandle> blob);
+ void HoldBlobReference(std::unique_ptr<content::BlobHandle> blob);
private:
typedef std::multimap<std::string, linked_ptr<content::BlobHandle> >
« no previous file with comments | « extensions/browser/app_window/test_app_window_contents.h ('k') | extensions/browser/blob_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698