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/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 | 49 |
50 class AppNotificationManager; | 50 class AppNotificationManager; |
51 class BookmarkExtensionEventRouter; | 51 class BookmarkExtensionEventRouter; |
52 class CrxInstaller; | 52 class CrxInstaller; |
53 class ExtensionBrowserEventRouter; | 53 class ExtensionBrowserEventRouter; |
54 class ExtensionContentSettingsStore; | 54 class ExtensionContentSettingsStore; |
55 class ExtensionCookiesEventRouter; | 55 class ExtensionCookiesEventRouter; |
56 class ExtensionDownloadsEventRouter; | 56 class ExtensionDownloadsEventRouter; |
| 57 class ExtensionFontSettingsEventRouter; |
57 class ExtensionGlobalError; | 58 class ExtensionGlobalError; |
58 class ExtensionManagementEventRouter; | 59 class ExtensionManagementEventRouter; |
59 class ExtensionPreferenceEventRouter; | 60 class ExtensionPreferenceEventRouter; |
60 class ExtensionSyncData; | 61 class ExtensionSyncData; |
61 class ExtensionSystem; | 62 class ExtensionSystem; |
62 class ExtensionToolbarModel; | 63 class ExtensionToolbarModel; |
63 class HistoryExtensionEventRouter; | 64 class HistoryExtensionEventRouter; |
64 class GURL; | 65 class GURL; |
65 class PendingExtensionManager; | 66 class PendingExtensionManager; |
66 class Profile; | 67 class Profile; |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; | 798 scoped_ptr<ExtensionPreferenceEventRouter> preference_event_router_; |
798 | 799 |
799 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; | 800 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; |
800 | 801 |
801 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_; | 802 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_; |
802 | 803 |
803 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; | 804 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; |
804 | 805 |
805 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; | 806 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; |
806 | 807 |
| 808 scoped_ptr<ExtensionFontSettingsEventRouter> font_settings_event_router_; |
| 809 |
807 #if defined(OS_CHROMEOS) | 810 #if defined(OS_CHROMEOS) |
808 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; | 811 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; |
809 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> | 812 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> |
810 input_method_event_router_; | 813 input_method_event_router_; |
811 #endif | 814 #endif |
812 | 815 |
813 // A collection of external extension providers. Each provider reads | 816 // A collection of external extension providers. Each provider reads |
814 // a source of external extension information. Examples include the | 817 // a source of external extension information. Examples include the |
815 // windows registry and external_extensions.json. | 818 // windows registry and external_extensions.json. |
816 ProviderCollection external_extension_providers_; | 819 ProviderCollection external_extension_providers_; |
(...skipping 22 matching lines...) Expand all Loading... |
839 scoped_ptr<ExtensionGlobalError> extension_global_error_; | 842 scoped_ptr<ExtensionGlobalError> extension_global_error_; |
840 | 843 |
841 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 844 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
842 InstallAppsWithUnlimtedStorage); | 845 InstallAppsWithUnlimtedStorage); |
843 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 846 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
844 InstallAppsAndCheckStorageProtection); | 847 InstallAppsAndCheckStorageProtection); |
845 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 848 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
846 }; | 849 }; |
847 | 850 |
848 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 851 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |