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

Unified Diff: chrome/browser/extensions/location_bar_controller.h

Issue 2466523002: Remove some linked_ptr c/b/extension (Closed)
Patch Set: review Created 4 years, 1 month 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 | « chrome/browser/extensions/install_verifier.cc ('k') | chrome/browser/extensions/location_bar_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/location_bar_controller.h
diff --git a/chrome/browser/extensions/location_bar_controller.h b/chrome/browser/extensions/location_bar_controller.h
index e67430a7cf5bc3cff21498fd807bff1e31f8a967..6c5157e30383fcca057f194b3a3f5862237d018c 100644
--- a/chrome/browser/extensions/location_bar_controller.h
+++ b/chrome/browser/extensions/location_bar_controller.h
@@ -6,10 +6,10 @@
#define CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_
#include <map>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/scoped_observer.h"
#include "extensions/browser/extension_registry_observer.h"
@@ -58,8 +58,8 @@ class LocationBarController : public ExtensionRegistryObserver {
// Manufactured page actions that have been generated for extensions that want
// to run a script, but were blocked.
- typedef std::map<std::string, linked_ptr<ExtensionAction> >
- ExtensionActionMap;
+ using ExtensionActionMap =
+ std::map<std::string, std::unique_ptr<ExtensionAction>>;
ExtensionActionMap active_script_actions_;
ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
« no previous file with comments | « chrome/browser/extensions/install_verifier.cc ('k') | chrome/browser/extensions/location_bar_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698