OLD | NEW |
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ | 4 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ |
5 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ | 5 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "chrome/browser/chromeos/login/login_manager_test.h" | 13 #include "chrome/browser/chromeos/login/login_manager_test.h" |
14 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" | 14 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/supervised_user/legacy/supervised_user_registration_uti
lity_stub.h" | 16 #include "chrome/browser/supervised_user/legacy/supervised_user_registration_uti
lity_stub.h" |
17 #include "chromeos/cryptohome/mock_async_method_caller.h" | 17 #include "chromeos/cryptohome/mock_async_method_caller.h" |
18 #include "chromeos/cryptohome/mock_homedir_methods.h" | 18 #include "chromeos/cryptohome/mock_homedir_methods.h" |
19 #include "components/sync/api/fake_sync_change_processor.h" | 19 #include "components/sync/model/fake_sync_change_processor.h" |
20 #include "components/sync/api/sync_change.h" | 20 #include "components/sync/model/sync_change.h" |
21 #include "components/sync/api/sync_error_factory_mock.h" | 21 #include "components/sync/model/sync_error_factory_mock.h" |
22 #include "components/sync/protocol/sync.pb.h" | 22 #include "components/sync/protocol/sync.pb.h" |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 const char kTestManager[] = "test-manager@gmail.com"; | 26 const char kTestManager[] = "test-manager@gmail.com"; |
27 const char kTestOtherUser[] = "test-user@gmail.com"; | 27 const char kTestOtherUser[] = "test-user@gmail.com"; |
28 | 28 |
29 const char kTestManagerPassword[] = "password"; | 29 const char kTestManagerPassword[] = "password"; |
30 const char kTestSupervisedUserDisplayName[] = "John Doe"; | 30 const char kTestSupervisedUserDisplayName[] = "John Doe"; |
31 const char kTestSupervisedUserPassword[] = "simplepassword"; | 31 const char kTestSupervisedUserPassword[] = "simplepassword"; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 shared_settings_adapter_; | 111 shared_settings_adapter_; |
112 std::unique_ptr<SupervisedUsersSyncTestAdapter> supervised_users_adapter_; | 112 std::unique_ptr<SupervisedUsersSyncTestAdapter> supervised_users_adapter_; |
113 | 113 |
114 private: | 114 private: |
115 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTestBase); | 115 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTestBase); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace chromeos | 118 } // namespace chromeos |
119 | 119 |
120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ | 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_TEST_BASE_H_ |
OLD | NEW |