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

Unified Diff: extensions/browser/declarative_user_script_manager.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
Index: extensions/browser/declarative_user_script_manager.h
diff --git a/extensions/browser/declarative_user_script_manager.h b/extensions/browser/declarative_user_script_manager.h
index 00779bf066f5558e4b51fc48f755b47b72ee8a2d..3f9626940e67c5919c738744351ea7abe1a5e9d3 100644
--- a/extensions/browser/declarative_user_script_manager.h
+++ b/extensions/browser/declarative_user_script_manager.h
@@ -8,7 +8,6 @@
#include <map>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/scoped_observer.h"
#include "components/keyed_service/core/keyed_service.h"
#include "extensions/browser/extension_registry_observer.h"
@@ -40,7 +39,7 @@ class DeclarativeUserScriptManager : public KeyedService,
private:
using UserScriptMasterMap =
- std::map<HostID, linked_ptr<DeclarativeUserScriptMaster>>;
+ std::map<HostID, std::unique_ptr<DeclarativeUserScriptMaster>>;
// ExtensionRegistryObserver:
void OnExtensionUnloaded(content::BrowserContext* browser_context,
« no previous file with comments | « extensions/browser/content_verifier_io_data.cc ('k') | extensions/browser/declarative_user_script_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698