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

Unified Diff: chrome/browser/chromeos/file_system_provider/notification_manager.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: chrome/browser/chromeos/file_system_provider/notification_manager.cc
diff --git a/chrome/browser/chromeos/file_system_provider/notification_manager.cc b/chrome/browser/chromeos/file_system_provider/notification_manager.cc
index a458cafba9fe5a35327bcb40b8b8dc670093f590..ece689b192a275fb39af19c8c93f3fbf624f4664 100644
--- a/chrome/browser/chromeos/file_system_provider/notification_manager.cc
+++ b/chrome/browser/chromeos/file_system_provider/notification_manager.cc
@@ -106,7 +106,7 @@ void NotificationManager::OnAppImageUpdated(const std::string& id,
file_system_info_.mount_path().value(), CreateNotification());
}
-scoped_ptr<message_center::Notification>
+std::unique_ptr<message_center::Notification>
NotificationManager::CreateNotification() {
if (!extension_icon_.get())
icon_loader_->FetchImage(file_system_info_.extension_id());
@@ -122,7 +122,7 @@ NotificationManager::CreateNotification() {
notifier_id.profile_id =
multi_user_util::GetAccountIdFromProfile(profile_).GetUserEmail();
- scoped_ptr<message_center::Notification> notification(
+ std::unique_ptr<message_center::Notification> notification(
new message_center::Notification(
message_center::NOTIFICATION_TYPE_SIMPLE,
file_system_info_.mount_path().value(),

Powered by Google App Engine
This is Rietveld 408576698