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

Side by Side Diff: ash/common/system/chromeos/session/tray_session_length_limit.h

Issue 2108793002: mash: Convert system tray logout button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more review comments, fix mash_unittests Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_
6 #define ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/system/chromeos/session/session_length_limit_observer.h" 10 #include "ash/common/system/chromeos/session/session_length_limit_observer.h"
11 #include "ash/common/system/tray/system_tray_item.h" 11 #include "ash/common/system/tray/system_tray_item.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 16
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 LimitState last_limit_state_; // State of last notification update. 65 LimitState last_limit_state_; // State of last notification update.
66 66
67 LabelTrayView* tray_bubble_view_; 67 LabelTrayView* tray_bubble_view_;
68 std::unique_ptr<base::RepeatingTimer> timer_; 68 std::unique_ptr<base::RepeatingTimer> timer_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(TraySessionLengthLimit); 70 DISALLOW_COPY_AND_ASSIGN(TraySessionLengthLimit);
71 }; 71 };
72 72
73 } // namespace ash 73 } // namespace ash
74 74
75 #endif // ASH_SYSTEM_CHROMEOS_SESSION_SESSION_LENGTH_LIMIT_H_ 75 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698