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

Unified Diff: ash/system/tray_update.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/system/tray/tray_popup_label_button.cc ('k') | ash/system/user/user_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_update.h
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h
index c0fc5b811c2f6ec43b4102c3a3c254653e1bfc91..d857dad82676ce27694007d27894c4da5cff4fd5 100644
--- a/ash/system/tray_update.h
+++ b/ash/system/tray_update.h
@@ -5,11 +5,12 @@
#ifndef ASH_SYSTEM_TRAY_UPDATE_H_
#define ASH_SYSTEM_TRAY_UPDATE_H_
+#include <memory>
+
#include "ash/system/tray/system_tray_delegate.h"
#include "ash/system/tray/tray_image_item.h"
#include "ash/system/user/update_observer.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace views {
class View;
@@ -39,7 +40,7 @@ class TrayUpdate : public TrayImageItem,
// Used to nag the user in case the tray has been hidden too long with an
// unseen update notification.
- scoped_ptr<tray::UpdateNagger> nagger_;
+ std::unique_ptr<tray::UpdateNagger> nagger_;
DISALLOW_COPY_AND_ASSIGN(TrayUpdate);
};
« no previous file with comments | « ash/system/tray/tray_popup_label_button.cc ('k') | ash/system/user/user_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698