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

Unified Diff: ui/message_center/notification.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/message_center_tray_unittest.cc ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification.h
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
index f06e92dd29a5c191b933b975cc29341fc92e3a55..f5abfe4d14ec40221a5ed2b90a1db785d670f96e 100644
--- a/ui/message_center/notification.h
+++ b/ui/message_center/notification.h
@@ -247,7 +247,7 @@ class MESSAGE_CENTER_EXPORT Notification {
// Helper method to create a simple system notification. |click_callback|
// will be invoked when the notification is clicked.
- static scoped_ptr<Notification> CreateSystemNotification(
+ static std::unique_ptr<Notification> CreateSystemNotification(
const std::string& notification_id,
const base::string16& title,
const base::string16& message,
« no previous file with comments | « ui/message_center/message_center_tray_unittest.cc ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698