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

Unified Diff: ui/message_center/notifier_settings.h

Issue 2574583005: Remove stl_util's deletion function use from message center notifier settings. (Closed)
Patch Set: nits Created 4 years 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: ui/message_center/notifier_settings.h
diff --git a/ui/message_center/notifier_settings.h b/ui/message_center/notifier_settings.h
index 9bbb87ab9efa6cf09047d7bce5cfc872dbe380e9..5e4c7a1c28c402b0f212dff3c1aada987dcd6df8 100644
--- a/ui/message_center/notifier_settings.h
+++ b/ui/message_center/notifier_settings.h
@@ -178,9 +178,9 @@ class MESSAGE_CENTER_EXPORT NotifierSettingsProvider {
virtual const message_center::NotifierGroup& GetActiveNotifierGroup()
const = 0;
- // Collects the current notifier list and fills to |notifiers|. Caller takes
- // the ownership of the elements of |notifiers|.
- virtual void GetNotifierList(std::vector<Notifier*>* notifiers) = 0;
+ // Provides the current notifier list in |notifiers|.
+ virtual void GetNotifierList(
+ std::vector<std::unique_ptr<Notifier>>* notifiers) = 0;
// Called when the |enabled| for the |notifier| has been changed by user
// operation.
« no previous file with comments | « ui/message_center/fake_notifier_settings_provider.cc ('k') | ui/message_center/views/notifier_settings_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698