OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "extensions/browser/extension_system.h" | 10 #include "extensions/browser/extension_system.h" |
11 #include "extensions/common/one_shot_event.h" | 11 #include "extensions/common/one_shot_event.h" |
12 | 12 |
13 #if defined(OS_CHROMEOS) | |
14 #include "chrome/browser/chromeos/login/users/scoped_test_user_manager.h" | |
15 #endif | |
16 | |
17 class Profile; | 13 class Profile; |
18 class TestingValueStore; | 14 class TestingValueStore; |
19 | 15 |
20 namespace base { | 16 namespace base { |
21 class CommandLine; | 17 class CommandLine; |
22 class FilePath; | 18 class FilePath; |
23 } | 19 } |
24 | 20 |
25 namespace content { | 21 namespace content { |
26 class BrowserContext; | 22 class BrowserContext; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 private: | 84 private: |
89 std::unique_ptr<StateStore> state_store_; | 85 std::unique_ptr<StateStore> state_store_; |
90 scoped_refptr<TestValueStoreFactory> store_factory_; | 86 scoped_refptr<TestValueStoreFactory> store_factory_; |
91 std::unique_ptr<ManagementPolicy> management_policy_; | 87 std::unique_ptr<ManagementPolicy> management_policy_; |
92 std::unique_ptr<RuntimeData> runtime_data_; | 88 std::unique_ptr<RuntimeData> runtime_data_; |
93 std::unique_ptr<ExtensionService> extension_service_; | 89 std::unique_ptr<ExtensionService> extension_service_; |
94 scoped_refptr<InfoMap> info_map_; | 90 scoped_refptr<InfoMap> info_map_; |
95 std::unique_ptr<QuotaService> quota_service_; | 91 std::unique_ptr<QuotaService> quota_service_; |
96 std::unique_ptr<AppSorting> app_sorting_; | 92 std::unique_ptr<AppSorting> app_sorting_; |
97 OneShotEvent ready_; | 93 OneShotEvent ready_; |
98 | |
99 #if defined(OS_CHROMEOS) | |
100 std::unique_ptr<chromeos::ScopedTestUserManager> test_user_manager_; | |
101 #endif | |
102 }; | 94 }; |
103 | 95 |
104 } // namespace extensions | 96 } // namespace extensions |
105 | 97 |
106 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 98 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |