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

Unified Diff: ui/message_center/popup_timer.h

Issue 1458553006: ScopedPtrMap -> std::map from apps, ash, media, ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ash_unittests compile error Created 5 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 | « media/midi/midi_manager_alsa.cc ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/popup_timer.h
diff --git a/ui/message_center/popup_timer.h b/ui/message_center/popup_timer.h
index f730732424677abf67cf00d7dde1c77a01028c8c..a822ca80e37c5c5dc68a0c116dc75092387bbb3c 100644
--- a/ui/message_center/popup_timer.h
+++ b/ui/message_center/popup_timer.h
@@ -5,10 +5,10 @@
#ifndef UI_MESSAGE_CENTER_POPUP_TIMER_H_
#define UI_MESSAGE_CENTER_POPUP_TIMER_H_
+#include <map>
#include <string>
#include <vector>
-#include "base/containers/scoped_ptr_map.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
@@ -118,8 +118,7 @@ class MESSAGE_CENTER_EXPORT PopupTimersController
MessageCenter* message_center_;
// The PopupTimerCollection contains all the managed timers by their ID.
- typedef base::ScopedPtrMap<std::string, scoped_ptr<PopupTimer>>
- PopupTimerCollection;
+ using PopupTimerCollection = std::map<std::string, scoped_ptr<PopupTimer>>;
PopupTimerCollection popup_timers_;
DISALLOW_COPY_AND_ASSIGN(PopupTimersController);
« no previous file with comments | « media/midi/midi_manager_alsa.cc ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698