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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 OVERRIDE; | 58 OVERRIDE; |
59 | 59 |
60 // Factory method for tests to use with SetTestingProfile. | 60 // Factory method for tests to use with SetTestingProfile. |
61 static ProfileKeyedService* Build(Profile* profile); | 61 static ProfileKeyedService* Build(Profile* profile); |
62 | 62 |
63 private: | 63 private: |
64 Profile* profile_; | 64 Profile* profile_; |
65 | 65 |
66 // The Extension Preferences. Only created if CreateExtensionService is | 66 // The Extension Preferences. Only created if CreateExtensionService is |
67 // invoked. | 67 // invoked. |
68 scoped_ptr<ExtensionPrefs> extension_prefs_; | 68 scoped_ptr<extensions::ExtensionPrefs> extension_prefs_; |
69 scoped_ptr<extensions::StateStore> state_store_; | 69 scoped_ptr<extensions::StateStore> state_store_; |
70 scoped_ptr<ExtensionService> extension_service_; | 70 scoped_ptr<ExtensionService> extension_service_; |
71 scoped_ptr<extensions::ManagementPolicy> management_policy_; | 71 scoped_ptr<extensions::ManagementPolicy> management_policy_; |
72 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 72 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
73 scoped_ptr<extensions::AlarmManager> alarm_manager_; | 73 scoped_ptr<extensions::AlarmManager> alarm_manager_; |
74 scoped_refptr<ExtensionInfoMap> info_map_; | 74 scoped_refptr<ExtensionInfoMap> info_map_; |
75 }; | 75 }; |
76 | 76 |
77 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 77 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |