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

Unified Diff: chrome/browser/extensions/api/system_indicator/system_indicator_manager.h

Issue 2705193004: linked_ptr->unique_ptr in system_indicator_manager.cc/h (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/system_indicator/system_indicator_manager.h
diff --git a/chrome/browser/extensions/api/system_indicator/system_indicator_manager.h b/chrome/browser/extensions/api/system_indicator/system_indicator_manager.h
index 58b0e6b7760d1394880aadd8e2469920520e9176..fe024985c2f7c0df6ee96bcd69793e1f725cc21c 100644
--- a/chrome/browser/extensions/api/system_indicator/system_indicator_manager.h
+++ b/chrome/browser/extensions/api/system_indicator/system_indicator_manager.h
@@ -10,7 +10,6 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/scoped_observer.h"
#include "base/threading/thread_checker.h"
#include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
@@ -68,8 +67,8 @@ class SystemIndicatorManager : public ExtensionRegistryObserver,
// Causes the indicator for the given extension to be hidden.
void RemoveIndicator(const std::string& extension_id);
- typedef std::map<const std::string, linked_ptr<ExtensionIndicatorIcon> >
- SystemIndicatorMap;
+ using SystemIndicatorMap =
+ std::map<const std::string, std::unique_ptr<ExtensionIndicatorIcon>>;
Profile* profile_;
StatusTray* status_tray_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698