| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "content/public/browser/notification_registrar.h" | 42 #include "content/public/browser/notification_registrar.h" |
| 43 #include "sync/api/string_ordinal.h" | 43 #include "sync/api/string_ordinal.h" |
| 44 #include "sync/api/sync_change.h" | 44 #include "sync/api/sync_change.h" |
| 45 #include "sync/api/syncable_service.h" | 45 #include "sync/api/syncable_service.h" |
| 46 | 46 |
| 47 class BookmarkExtensionEventRouter; | 47 class BookmarkExtensionEventRouter; |
| 48 class CommandLine; | 48 class CommandLine; |
| 49 class ExtensionErrorUI; | 49 class ExtensionErrorUI; |
| 50 class ExtensionFontSettingsEventRouter; | 50 class ExtensionFontSettingsEventRouter; |
| 51 class ExtensionManagementEventRouter; | 51 class ExtensionManagementEventRouter; |
| 52 class ExtensionPreferenceEventRouter; | |
| 53 class ExtensionSyncData; | 52 class ExtensionSyncData; |
| 54 class ExtensionToolbarModel; | 53 class ExtensionToolbarModel; |
| 55 class HistoryExtensionEventRouter; | 54 class HistoryExtensionEventRouter; |
| 56 class GURL; | 55 class GURL; |
| 57 class Profile; | 56 class Profile; |
| 58 class Version; | 57 class Version; |
| 59 | 58 |
| 60 namespace chromeos { | 59 namespace chromeos { |
| 61 class ExtensionBluetoothEventRouter; | 60 class ExtensionBluetoothEventRouter; |
| 62 class ExtensionInputMethodEventRouter; | 61 class ExtensionInputMethodEventRouter; |
| 63 } | 62 } |
| 64 | 63 |
| 65 namespace extensions { | 64 namespace extensions { |
| 66 class AppNotificationManager; | 65 class AppNotificationManager; |
| 67 class AppSyncData; | 66 class AppSyncData; |
| 68 class BrowserEventRouter; | 67 class BrowserEventRouter; |
| 69 class ComponentLoader; | 68 class ComponentLoader; |
| 70 class ContentSettingsStore; | 69 class ContentSettingsStore; |
| 71 class CrxInstaller; | 70 class CrxInstaller; |
| 72 class Extension; | 71 class Extension; |
| 73 class ExtensionActionStorageManager; | 72 class ExtensionActionStorageManager; |
| 74 class ExtensionCookiesEventRouter; | 73 class ExtensionCookiesEventRouter; |
| 75 class ExtensionManagedModeEventRouter; | 74 class ExtensionManagedModeEventRouter; |
| 76 class ExtensionSyncData; | 75 class ExtensionSyncData; |
| 77 class ExtensionSystem; | 76 class ExtensionSystem; |
| 78 class ExtensionUpdater; | 77 class ExtensionUpdater; |
| 79 class FontSettingsEventRouter; | 78 class FontSettingsEventRouter; |
| 80 class MediaGalleriesPrivateEventRouter; | 79 class MediaGalleriesPrivateEventRouter; |
| 81 class PendingExtensionManager; | 80 class PendingExtensionManager; |
| 81 class PreferenceEventRouter; |
| 82 class PushMessagingEventRouter; | 82 class PushMessagingEventRouter; |
| 83 class SettingsFrontend; | 83 class SettingsFrontend; |
| 84 class WebNavigationEventRouter; | 84 class WebNavigationEventRouter; |
| 85 class WindowEventRouter; | 85 class WindowEventRouter; |
| 86 } | 86 } |
| 87 | 87 |
| 88 namespace syncer { | 88 namespace syncer { |
| 89 class SyncErrorFactory; | 89 class SyncErrorFactory; |
| 90 } | 90 } |
| 91 | 91 |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 | 820 |
| 821 // Flag to make sure event routers are only initialized once. | 821 // Flag to make sure event routers are only initialized once. |
| 822 bool event_routers_initialized_; | 822 bool event_routers_initialized_; |
| 823 | 823 |
| 824 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; | 824 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; |
| 825 | 825 |
| 826 scoped_ptr<extensions::BrowserEventRouter> browser_event_router_; | 826 scoped_ptr<extensions::BrowserEventRouter> browser_event_router_; |
| 827 | 827 |
| 828 scoped_ptr<extensions::WindowEventRouter> window_event_router_; | 828 scoped_ptr<extensions::WindowEventRouter> window_event_router_; |
| 829 | 829 |
| 830 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; | 830 scoped_ptr<extensions::PreferenceEventRouter> preference_event_router_; |
| 831 | 831 |
| 832 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; | 832 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; |
| 833 | 833 |
| 834 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; | 834 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; |
| 835 | 835 |
| 836 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; | 836 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; |
| 837 | 837 |
| 838 scoped_ptr<extensions::MediaGalleriesPrivateEventRouter> | 838 scoped_ptr<extensions::MediaGalleriesPrivateEventRouter> |
| 839 media_galleries_private_event_router_; | 839 media_galleries_private_event_router_; |
| 840 | 840 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 #endif | 886 #endif |
| 887 | 887 |
| 888 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 888 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 889 InstallAppsWithUnlimtedStorage); | 889 InstallAppsWithUnlimtedStorage); |
| 890 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 890 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 891 InstallAppsAndCheckStorageProtection); | 891 InstallAppsAndCheckStorageProtection); |
| 892 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 892 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 893 }; | 893 }; |
| 894 | 894 |
| 895 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 895 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |