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