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

Unified Diff: ui/message_center/fake_notifier_settings_provider.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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 | « ui/message_center/fake_message_center_tray_delegate.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/fake_notifier_settings_provider.h
diff --git a/ui/message_center/fake_notifier_settings_provider.h b/ui/message_center/fake_notifier_settings_provider.h
index e8e6c2ba8a4a8865e48597133bc6925d776cd888..eefb208df12c5bd5ca6424078830c20c541d06bd 100644
--- a/ui/message_center/fake_notifier_settings_provider.h
+++ b/ui/message_center/fake_notifier_settings_provider.h
@@ -7,7 +7,8 @@
#include <stddef.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/message_center/notifier_settings.h"
namespace message_center {
@@ -64,7 +65,7 @@ class FakeNotifierSettingsProvider : public NotifierSettingsProvider {
std::vector<NotifierGroupItem> items_;
int closed_called_count_;
size_t active_item_index_;
- scoped_ptr<NotifierId> notifier_id_with_settings_handler_;
+ std::unique_ptr<NotifierId> notifier_id_with_settings_handler_;
size_t notifier_settings_requested_count_;
};
« no previous file with comments | « ui/message_center/fake_message_center_tray_delegate.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698