OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 namespace test { | 12 namespace test { |
13 | 13 |
14 // Accesses private data from a UserSessionManager for testing. | 14 // Accesses private data from a UserSessionManager for testing. |
15 class UserSessionManagerTestApi { | 15 class UserSessionManagerTestApi { |
16 public: | 16 public: |
17 explicit UserSessionManagerTestApi(UserSessionManager* session_manager); | 17 explicit UserSessionManagerTestApi(UserSessionManager* session_manager); |
18 | 18 |
(...skipping 11 matching lines...) Expand all Loading... |
30 private: | 30 private: |
31 UserSessionManager* session_manager_; // not owned | 31 UserSessionManager* session_manager_; // not owned |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(UserSessionManagerTestApi); | 33 DISALLOW_COPY_AND_ASSIGN(UserSessionManagerTestApi); |
34 }; | 34 }; |
35 | 35 |
36 } // namespace test | 36 } // namespace test |
37 } // namespace chromeos | 37 } // namespace chromeos |
38 | 38 |
39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H
_ | 39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_TEST_API_H
_ |
OLD | NEW |