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