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

Unified Diff: ash/common/system/tray/tray_details_view.h

Issue 2698213004: Start removing some pre-md constants and related code. (Closed)
Patch Set: format Created 3 years, 10 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: ash/common/system/tray/tray_details_view.h
diff --git a/ash/common/system/tray/tray_details_view.h b/ash/common/system/tray/tray_details_view.h
index b7021d6606d00ac9d7e4e935865907883613fd03..ca5902fb4d1c9d78013489c9274b71b0072e1625 100644
--- a/ash/common/system/tray/tray_details_view.h
+++ b/ash/common/system/tray/tray_details_view.h
@@ -12,13 +12,10 @@
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/view_click_listener.h"
#include "base/macros.h"
+#include "base/timer/timer.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
-namespace base {
-class OneShotTimer;
-} // namespace base
-
namespace views {
class BoxLayout;
class CustomButton;
@@ -137,7 +134,7 @@ class ASH_EXPORT TrayDetailsView : public views::View,
views::Button* back_button_;
// Used to delay the transition to the default view.
- std::unique_ptr<base::OneShotTimer> transition_delay_timer_;
+ base::OneShotTimer transition_delay_timer_;
DISALLOW_COPY_AND_ASSIGN(TrayDetailsView);
};

Powered by Google App Engine
This is Rietveld 408576698