| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/extensions/extension_system.h" | 9 #include "chrome/browser/extensions/extension_system.h" |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 virtual ExtensionEventRouter* event_router() OVERRIDE; | 43 virtual ExtensionEventRouter* event_router() OVERRIDE; |
| 44 virtual extensions::RulesRegistryService* rules_registry_service() | 44 virtual extensions::RulesRegistryService* rules_registry_service() |
| 45 OVERRIDE; | 45 OVERRIDE; |
| 46 | 46 |
| 47 // Factory method for tests to use with SetTestingProfile. | 47 // Factory method for tests to use with SetTestingProfile. |
| 48 static ProfileKeyedService* Build(Profile* profile); | 48 static ProfileKeyedService* Build(Profile* profile); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 Profile* profile_; | 51 Profile* profile_; |
| 52 | 52 |
| 53 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | |
| 54 // The Extension Preferences. Only created if CreateExtensionService is | 53 // The Extension Preferences. Only created if CreateExtensionService is |
| 55 // invoked. | 54 // invoked. |
| 56 scoped_ptr<ExtensionPrefs> extension_prefs_; | 55 scoped_ptr<ExtensionPrefs> extension_prefs_; |
| 57 scoped_ptr<ExtensionService> extension_service_; | 56 scoped_ptr<ExtensionService> extension_service_; |
| 58 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 57 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 60 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
| OLD | NEW |