| 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 "chrome/browser/extensions/extension_system.h" | 8 #include "chrome/browser/extensions/extension_system.h" |
| 9 | 9 |
| 10 class CommandLine; | 10 class CommandLine; |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class Clock; | 13 class Clock; |
| 14 class FilePath; | 14 class FilePath; |
| 15 class Time; | 15 class Time; |
| 16 } | 16 } |
| 17 | 17 |
| 18 #if defined(OS_CHROMEOS) |
| 19 namespace chromeos { |
| 20 class ScopedTestCrosSettings; |
| 21 } |
| 22 #endif |
| 23 |
| 18 namespace extensions { | 24 namespace extensions { |
| 19 | 25 |
| 20 // Test ExtensionSystem, for use with TestingProfile. | 26 // Test ExtensionSystem, for use with TestingProfile. |
| 21 class TestExtensionSystem : public ExtensionSystem { | 27 class TestExtensionSystem : public ExtensionSystem { |
| 22 public: | 28 public: |
| 23 explicit TestExtensionSystem(Profile* profile); | 29 explicit TestExtensionSystem(Profile* profile); |
| 24 virtual ~TestExtensionSystem(); | 30 virtual ~TestExtensionSystem(); |
| 25 | 31 |
| 26 // ProfileKeyedService implementation. | 32 // ProfileKeyedService implementation. |
| 27 virtual void Shutdown() OVERRIDE; | 33 virtual void Shutdown() OVERRIDE; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; | 86 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; |
| 81 scoped_ptr<Blacklist> blacklist_; | 87 scoped_ptr<Blacklist> blacklist_; |
| 82 scoped_ptr<StandardManagementPolicyProvider> | 88 scoped_ptr<StandardManagementPolicyProvider> |
| 83 standard_management_policy_provider_; | 89 standard_management_policy_provider_; |
| 84 scoped_ptr<ManagementPolicy> management_policy_; | 90 scoped_ptr<ManagementPolicy> management_policy_; |
| 85 scoped_ptr<ExtensionService> extension_service_; | 91 scoped_ptr<ExtensionService> extension_service_; |
| 86 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 92 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 87 scoped_ptr<AlarmManager> alarm_manager_; | 93 scoped_ptr<AlarmManager> alarm_manager_; |
| 88 scoped_refptr<ExtensionInfoMap> info_map_; | 94 scoped_refptr<ExtensionInfoMap> info_map_; |
| 89 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; | 95 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; |
| 96 #if defined OS_CHROMEOS |
| 97 // ExtensionService depends on UserManager which depends on CrosSettings. |
| 98 scoped_ptr<chromeos::ScopedTestCrosSettings> test_cros_settings_; |
| 99 #endif |
| 90 }; | 100 }; |
| 91 | 101 |
| 92 } // namespace extensions | 102 } // namespace extensions |
| 93 | 103 |
| 94 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 104 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
| OLD | NEW |