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

Unified Diff: ui/message_center/views/notifier_settings_view_unittest.cc

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/views/notifier_settings_view.cc ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notifier_settings_view_unittest.cc
diff --git a/ui/message_center/views/notifier_settings_view_unittest.cc b/ui/message_center/views/notifier_settings_view_unittest.cc
index 94181d1990bef8043b15917f1feac6a4180dda23..50363e68d53f6d62a57c6767ce77f8885b56e1c6 100644
--- a/ui/message_center/views/notifier_settings_view_unittest.cc
+++ b/ui/message_center/views/notifier_settings_view_unittest.cc
@@ -53,7 +53,7 @@ class TestingNotifierSettingsProvider
private:
NotifierId settings_handler_id_;
size_t request_count_;
- scoped_ptr<NotifierId> last_notifier_id_settings_requested_;
+ std::unique_ptr<NotifierId> last_notifier_id_settings_requested_;
};
} // namespace
@@ -72,8 +72,8 @@ class NotifierSettingsViewTest : public testing::Test {
}
private:
- scoped_ptr<TestingNotifierSettingsProvider> settings_provider_;
- scoped_ptr<NotifierSettingsView> notifier_settings_view_;
+ std::unique_ptr<TestingNotifierSettingsProvider> settings_provider_;
+ std::unique_ptr<NotifierSettingsView> notifier_settings_view_;
DISALLOW_COPY_AND_ASSIGN(NotifierSettingsViewTest);
};
« no previous file with comments | « ui/message_center/views/notifier_settings_view.cc ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698