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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "content/public/browser/browser_thread.h" | 45 #include "content/public/browser/browser_thread.h" |
46 #include "content/public/browser/notification_observer.h" | 46 #include "content/public/browser/notification_observer.h" |
47 #include "content/public/browser/notification_registrar.h" | 47 #include "content/public/browser/notification_registrar.h" |
48 #include "sync/api/sync_change.h" | 48 #include "sync/api/sync_change.h" |
49 #include "sync/api/syncable_service.h" | 49 #include "sync/api/syncable_service.h" |
50 | 50 |
51 class AppNotificationManager; | 51 class AppNotificationManager; |
52 class BookmarkExtensionEventRouter; | 52 class BookmarkExtensionEventRouter; |
53 class CrxInstaller; | 53 class CrxInstaller; |
54 class ExtensionBrowserEventRouter; | 54 class ExtensionBrowserEventRouter; |
55 class ExtensionDownloadsEventRouter; | |
56 class ExtensionFontSettingsEventRouter; | 55 class ExtensionFontSettingsEventRouter; |
57 class ExtensionGlobalError; | 56 class ExtensionGlobalError; |
58 class ExtensionManagedModeEventRouter; | 57 class ExtensionManagedModeEventRouter; |
59 class ExtensionManagementEventRouter; | 58 class ExtensionManagementEventRouter; |
60 class ExtensionPreferenceEventRouter; | 59 class ExtensionPreferenceEventRouter; |
61 class ExtensionSyncData; | 60 class ExtensionSyncData; |
62 class ExtensionSystem; | 61 class ExtensionSystem; |
63 class ExtensionToolbarModel; | 62 class ExtensionToolbarModel; |
64 class HistoryExtensionEventRouter; | 63 class HistoryExtensionEventRouter; |
65 class GURL; | 64 class GURL; |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 // Keeps track of favicon-sized omnibox icons for extensions. | 783 // Keeps track of favicon-sized omnibox icons for extensions. |
785 ExtensionIconManager omnibox_icon_manager_; | 784 ExtensionIconManager omnibox_icon_manager_; |
786 ExtensionIconManager omnibox_popup_icon_manager_; | 785 ExtensionIconManager omnibox_popup_icon_manager_; |
787 | 786 |
788 // Manages the promotion of the web store. | 787 // Manages the promotion of the web store. |
789 AppsPromo apps_promo_; | 788 AppsPromo apps_promo_; |
790 | 789 |
791 // Flag to make sure event routers are only initialized once. | 790 // Flag to make sure event routers are only initialized once. |
792 bool event_routers_initialized_; | 791 bool event_routers_initialized_; |
793 | 792 |
794 scoped_ptr<ExtensionDownloadsEventRouter> downloads_event_router_; | |
795 | |
796 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; | 793 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; |
797 | 794 |
798 scoped_ptr<ExtensionBrowserEventRouter> browser_event_router_; | 795 scoped_ptr<ExtensionBrowserEventRouter> browser_event_router_; |
799 | 796 |
800 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; | 797 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; |
801 | 798 |
802 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; | 799 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; |
803 | 800 |
804 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; | 801 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; |
805 | 802 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 scoped_ptr<ExtensionGlobalError> extension_global_error_; | 843 scoped_ptr<ExtensionGlobalError> extension_global_error_; |
847 | 844 |
848 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 845 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
849 InstallAppsWithUnlimtedStorage); | 846 InstallAppsWithUnlimtedStorage); |
850 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 847 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
851 InstallAppsAndCheckStorageProtection); | 848 InstallAppsAndCheckStorageProtection); |
852 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 849 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
853 }; | 850 }; |
854 | 851 |
855 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 852 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |