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

Unified Diff: extensions/browser/external_provider_interface.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/extension_prefs.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/external_provider_interface.h
diff --git a/extensions/browser/external_provider_interface.h b/extensions/browser/external_provider_interface.h
index 727efdfb84872495e2259919ef8bf3566596f904..10ec9355e54e1a360dba56a0bb113fd296dcc9aa 100644
--- a/extensions/browser/external_provider_interface.h
+++ b/extensions/browser/external_provider_interface.h
@@ -5,9 +5,9 @@
#ifndef EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_
#define EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_
+#include <memory>
#include <vector>
-#include "base/memory/linked_ptr.h"
#include "extensions/common/manifest.h"
class GURL;
@@ -96,8 +96,8 @@ class ExternalProviderInterface {
virtual bool IsReady() const = 0;
};
-typedef std::vector<linked_ptr<ExternalProviderInterface> >
- ProviderCollection;
+using ProviderCollection =
+ std::vector<std::unique_ptr<ExternalProviderInterface>>;
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698