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

Side by Side Diff: ash/test/status_area_widget_test_helper.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | ash/test/status_area_widget_test_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_STATUS_AREA_WIDGET_TEST_HELPER_H_ 5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_
6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ 6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_
7 7
8 #include "ash/system/user/login_status.h" 8 #include "ash/system/user/login_status.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 class StatusAreaWidget; 13 class StatusAreaWidget;
14 14
15 class StatusAreaWidgetTestHelper { 15 class StatusAreaWidgetTestHelper {
16 public: 16 public:
17 static user::LoginStatus GetUserLoginStatus(); 17 static LoginStatus GetUserLoginStatus();
18 18
19 // Returns the StatusAreaWidget that appears on the primary display. 19 // Returns the StatusAreaWidget that appears on the primary display.
20 static StatusAreaWidget* GetStatusAreaWidget(); 20 static StatusAreaWidget* GetStatusAreaWidget();
21 21
22 // Returns the StatusAreaWidget that appears on the secondary display. 22 // Returns the StatusAreaWidget that appears on the secondary display.
23 static StatusAreaWidget* GetSecondaryStatusAreaWidget(); 23 static StatusAreaWidget* GetSecondaryStatusAreaWidget();
24 24
25 private: 25 private:
26 DISALLOW_IMPLICIT_CONSTRUCTORS(StatusAreaWidgetTestHelper); 26 DISALLOW_IMPLICIT_CONSTRUCTORS(StatusAreaWidgetTestHelper);
27 }; 27 };
28 28
29 } // namespace ash 29 } // namespace ash
30 30
31 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ 31 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | ash/test/status_area_widget_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698