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

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

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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_base.h ('k') | ash/test/mirror_window_test_api.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_ 5 #ifndef ASH_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_
6 #define ASH_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_ 6 #define ASH_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/wm/lock_state_controller.h" 10 #include "ash/wm/lock_state_controller.h"
11 #include "base/timer/elapsed_timer.h" 11 #include "base/timer/elapsed_timer.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 namespace mojom {
17 class ShutdownClient;
18 }
19
20 namespace test { 16 namespace test {
21 17
22 // Helper class used by tests to access internal state. 18 // Helper class used by tests to access internal state.
23 class LockStateControllerTestApi { 19 class LockStateControllerTestApi {
24 public: 20 public:
25 explicit LockStateControllerTestApi(LockStateController* controller); 21 explicit LockStateControllerTestApi(LockStateController* controller);
26 ~LockStateControllerTestApi(); 22 ~LockStateControllerTestApi();
27 23
28 void set_shutdown_controller(ShutdownController* shutdown_controller) { 24 void set_shutdown_controller(ShutdownController* shutdown_controller) {
29 controller_->shutdown_controller_ = shutdown_controller; 25 controller_->shutdown_controller_ = shutdown_controller;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 private: 62 private:
67 LockStateController* controller_; // not owned 63 LockStateController* controller_; // not owned
68 64
69 DISALLOW_COPY_AND_ASSIGN(LockStateControllerTestApi); 65 DISALLOW_COPY_AND_ASSIGN(LockStateControllerTestApi);
70 }; 66 };
71 67
72 } // namespace test 68 } // namespace test
73 } // namespace ash 69 } // namespace ash
74 70
75 #endif // ASH_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_ 71 #endif // ASH_TEST_LOCK_STATE_CONTROLLER_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.h ('k') | ash/test/mirror_window_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698