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; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual RulesRegistryService* rules_registry_service() OVERRIDE; | 61 virtual RulesRegistryService* rules_registry_service() OVERRIDE; |
62 virtual ApiResourceManager<SerialConnection>* serial_connection_manager() | 62 virtual ApiResourceManager<SerialConnection>* serial_connection_manager() |
63 OVERRIDE; | 63 OVERRIDE; |
64 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE; | 64 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE; |
65 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager() | 65 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager() |
66 OVERRIDE; | 66 OVERRIDE; |
67 | 67 |
68 // Factory method for tests to use with SetTestingProfile. | 68 // Factory method for tests to use with SetTestingProfile. |
69 static ProfileKeyedService* Build(Profile* profile); | 69 static ProfileKeyedService* Build(Profile* profile); |
70 | 70 |
71 private: | 71 protected: |
72 Profile* profile_; | 72 Profile* profile_; |
73 | 73 |
| 74 private: |
74 // The Extension Preferences. Only created if CreateExtensionService is | 75 // The Extension Preferences. Only created if CreateExtensionService is |
75 // invoked. | 76 // invoked. |
76 scoped_ptr<ExtensionPrefs> extension_prefs_; | 77 scoped_ptr<ExtensionPrefs> extension_prefs_; |
77 scoped_ptr<StateStore> state_store_; | 78 scoped_ptr<StateStore> state_store_; |
78 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; | 79 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; |
79 scoped_ptr<ExtensionService> extension_service_; | 80 scoped_ptr<ExtensionService> extension_service_; |
80 scoped_ptr<ManagementPolicy> management_policy_; | 81 scoped_ptr<ManagementPolicy> management_policy_; |
81 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 82 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
82 scoped_ptr<AlarmManager> alarm_manager_; | 83 scoped_ptr<AlarmManager> alarm_manager_; |
83 scoped_refptr<ExtensionInfoMap> info_map_; | 84 scoped_refptr<ExtensionInfoMap> info_map_; |
84 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; | 85 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; |
85 }; | 86 }; |
86 | 87 |
87 } // namespace extensions | 88 } // namespace extensions |
88 | 89 |
89 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 90 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |