| 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 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "content/public/browser/notification_registrar.h" | 46 #include "content/public/browser/notification_registrar.h" |
| 47 #include "sync/api/sync_change.h" | 47 #include "sync/api/sync_change.h" |
| 48 #include "sync/api/syncable_service.h" | 48 #include "sync/api/syncable_service.h" |
| 49 | 49 |
| 50 class AppNotificationManager; | 50 class AppNotificationManager; |
| 51 class BookmarkExtensionEventRouter; | 51 class BookmarkExtensionEventRouter; |
| 52 class CrxInstaller; | 52 class CrxInstaller; |
| 53 class ExtensionBrowserEventRouter; | 53 class ExtensionBrowserEventRouter; |
| 54 class ExtensionFontSettingsEventRouter; | 54 class ExtensionFontSettingsEventRouter; |
| 55 class ExtensionGlobalError; | 55 class ExtensionGlobalError; |
| 56 class ExtensionManagedModeEventRouter; | |
| 57 class ExtensionManagementEventRouter; | 56 class ExtensionManagementEventRouter; |
| 58 class ExtensionPreferenceEventRouter; | 57 class ExtensionPreferenceEventRouter; |
| 59 class ExtensionSyncData; | 58 class ExtensionSyncData; |
| 60 class ExtensionToolbarModel; | 59 class ExtensionToolbarModel; |
| 61 class HistoryExtensionEventRouter; | 60 class HistoryExtensionEventRouter; |
| 62 class GURL; | 61 class GURL; |
| 63 class PendingExtensionManager; | 62 class PendingExtensionManager; |
| 64 class Profile; | 63 class Profile; |
| 65 class Version; | 64 class Version; |
| 66 | 65 |
| 67 namespace chromeos { | 66 namespace chromeos { |
| 68 class ExtensionBluetoothEventRouter; | 67 class ExtensionBluetoothEventRouter; |
| 69 class ExtensionInputMethodEventRouter; | 68 class ExtensionInputMethodEventRouter; |
| 70 } | 69 } |
| 71 | 70 |
| 71 namespace extensions { |
| 72 class ExtensionManagedModeEventRouter; |
| 73 } |
| 74 |
| 72 namespace syncer { | 75 namespace syncer { |
| 73 class SyncData; | 76 class SyncData; |
| 74 class SyncErrorFactory; | 77 class SyncErrorFactory; |
| 75 } | 78 } |
| 76 | 79 |
| 77 namespace extensions { | 80 namespace extensions { |
| 78 class AppSyncData; | 81 class AppSyncData; |
| 79 class ComponentLoader; | 82 class ComponentLoader; |
| 80 class ContentSettingsStore; | 83 class ContentSettingsStore; |
| 81 class Extension; | 84 class Extension; |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; | 810 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; |
| 808 | 811 |
| 809 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; | 812 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; |
| 810 | 813 |
| 811 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; | 814 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; |
| 812 | 815 |
| 813 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; | 816 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; |
| 814 | 817 |
| 815 scoped_ptr<ExtensionFontSettingsEventRouter> font_settings_event_router_; | 818 scoped_ptr<ExtensionFontSettingsEventRouter> font_settings_event_router_; |
| 816 | 819 |
| 817 scoped_ptr<ExtensionManagedModeEventRouter> managed_mode_event_router_; | 820 scoped_ptr<extensions::ExtensionManagedModeEventRouter> |
| 821 managed_mode_event_router_; |
| 818 | 822 |
| 819 #if defined(OS_CHROMEOS) | 823 #if defined(OS_CHROMEOS) |
| 820 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; | 824 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; |
| 821 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> | 825 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> |
| 822 input_method_event_router_; | 826 input_method_event_router_; |
| 823 #endif | 827 #endif |
| 824 | 828 |
| 825 // A collection of external extension providers. Each provider reads | 829 // A collection of external extension providers. Each provider reads |
| 826 // a source of external extension information. Examples include the | 830 // a source of external extension information. Examples include the |
| 827 // windows registry and external_extensions.json. | 831 // windows registry and external_extensions.json. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 851 scoped_ptr<ExtensionGlobalError> extension_global_error_; | 855 scoped_ptr<ExtensionGlobalError> extension_global_error_; |
| 852 | 856 |
| 853 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 857 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 854 InstallAppsWithUnlimtedStorage); | 858 InstallAppsWithUnlimtedStorage); |
| 855 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 859 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 856 InstallAppsAndCheckStorageProtection); | 860 InstallAppsAndCheckStorageProtection); |
| 857 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 861 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 858 }; | 862 }; |
| 859 | 863 |
| 860 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 864 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |