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_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 // The ExtensionSystem for the profile above. | 703 // The ExtensionSystem for the profile above. |
704 ExtensionSystem* system_; | 704 ExtensionSystem* system_; |
705 | 705 |
706 // Preferences for the owning profile (weak reference). | 706 // Preferences for the owning profile (weak reference). |
707 ExtensionPrefs* extension_prefs_; | 707 ExtensionPrefs* extension_prefs_; |
708 | 708 |
709 // Settings for the owning profile. | 709 // Settings for the owning profile. |
710 scoped_ptr<extensions::SettingsFrontend> settings_frontend_; | 710 scoped_ptr<extensions::SettingsFrontend> settings_frontend_; |
711 | 711 |
712 // The current list of installed extensions. | 712 // The current list of installed extensions. |
713 // TODO(aa): This should use chrome/common/extensions/extension_set.h. | |
714 ExtensionSet extensions_; | 713 ExtensionSet extensions_; |
715 | 714 |
716 // The list of installed extensions that have been disabled. | 715 // The list of installed extensions that have been disabled. |
717 ExtensionSet disabled_extensions_; | 716 ExtensionSet disabled_extensions_; |
718 | 717 |
719 // The list of installed extensions that have been terminated. | 718 // The list of installed extensions that have been terminated. |
720 ExtensionSet terminated_extensions_; | 719 ExtensionSet terminated_extensions_; |
721 | 720 |
722 // Hold the set of pending extensions. | 721 // Hold the set of pending extensions. |
723 PendingExtensionManager pending_extension_manager_; | 722 PendingExtensionManager pending_extension_manager_; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 scoped_ptr<ExtensionGlobalError> extension_global_error_; | 843 scoped_ptr<ExtensionGlobalError> extension_global_error_; |
845 | 844 |
846 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 845 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
847 InstallAppsWithUnlimtedStorage); | 846 InstallAppsWithUnlimtedStorage); |
848 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 847 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
849 InstallAppsAndCheckStorageProtection); | 848 InstallAppsAndCheckStorageProtection); |
850 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 849 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
851 }; | 850 }; |
852 | 851 |
853 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 852 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |