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

Unified Diff: extensions/browser/blob_holder.h

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: address comments Created 4 years, 4 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/api/system_storage/system_storage_apitest.cc ('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 68e519d608c32977fc2cc2c0564e407118805b72..0befa3ca49e3d9f57838174a51188b29090eff98 100644
--- a/extensions/browser/blob_holder.h
+++ b/extensions/browser/blob_holder.h
@@ -11,7 +11,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/supports_user_data.h"
namespace content {
@@ -37,8 +36,8 @@ class BlobHolder : public base::SupportsUserData::Data {
void HoldBlobReference(std::unique_ptr<content::BlobHandle> blob);
private:
- typedef std::multimap<std::string, linked_ptr<content::BlobHandle> >
- BlobHandleMultimap;
+ using BlobHandleMultimap =
+ std::multimap<std::string, std::unique_ptr<content::BlobHandle>>;
explicit BlobHolder(content::RenderProcessHost* render_process_host);
« no previous file with comments | « extensions/browser/api/system_storage/system_storage_apitest.cc ('k') | extensions/browser/blob_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698