| 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 // Keeps track of favicon-sized omnibox icons for extensions. | 784 // Keeps track of favicon-sized omnibox icons for extensions. |
| 786 ExtensionIconManager omnibox_icon_manager_; | 785 ExtensionIconManager omnibox_icon_manager_; |
| 787 ExtensionIconManager omnibox_popup_icon_manager_; | 786 ExtensionIconManager omnibox_popup_icon_manager_; |
| 788 | 787 |
| 789 // Manages the promotion of the web store. | 788 // Manages the promotion of the web store. |
| 790 AppsPromo apps_promo_; | 789 AppsPromo apps_promo_; |
| 791 | 790 |
| 792 // Flag to make sure event routers are only initialized once. | 791 // Flag to make sure event routers are only initialized once. |
| 793 bool event_routers_initialized_; | 792 bool event_routers_initialized_; |
| 794 | 793 |
| 795 scoped_ptr<ExtensionDownloadsEventRouter> downloads_event_router_; | |
| 796 | |
| 797 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; | 794 scoped_ptr<HistoryExtensionEventRouter> history_event_router_; |
| 798 | 795 |
| 799 scoped_ptr<ExtensionBrowserEventRouter> browser_event_router_; | 796 scoped_ptr<ExtensionBrowserEventRouter> browser_event_router_; |
| 800 | 797 |
| 801 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; | 798 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; |
| 802 | 799 |
| 803 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; | 800 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; |
| 804 | 801 |
| 805 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; | 802 scoped_ptr<extensions::ExtensionCookiesEventRouter> cookies_event_router_; |
| 806 | 803 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 scoped_ptr<ExtensionGlobalError> extension_global_error_; | 844 scoped_ptr<ExtensionGlobalError> extension_global_error_; |
| 848 | 845 |
| 849 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 846 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 850 InstallAppsWithUnlimtedStorage); | 847 InstallAppsWithUnlimtedStorage); |
| 851 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 848 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 852 InstallAppsAndCheckStorageProtection); | 849 InstallAppsAndCheckStorageProtection); |
| 853 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 850 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 854 }; | 851 }; |
| 855 | 852 |
| 856 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 853 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |