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 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 class ExtensionManagedModeEventRouter; | 74 class ExtensionManagedModeEventRouter; |
75 class ExtensionSyncData; | 75 class ExtensionSyncData; |
76 class ExtensionSystem; | 76 class ExtensionSystem; |
77 class ExtensionUpdater; | 77 class ExtensionUpdater; |
78 class FontSettingsEventRouter; | 78 class FontSettingsEventRouter; |
79 class MediaGalleriesPrivateEventRouter; | 79 class MediaGalleriesPrivateEventRouter; |
80 class PendingExtensionManager; | 80 class PendingExtensionManager; |
81 class PreferenceEventRouter; | 81 class PreferenceEventRouter; |
82 class PushMessagingEventRouter; | 82 class PushMessagingEventRouter; |
83 class SettingsFrontend; | 83 class SettingsFrontend; |
| 84 class TabCaptureEventRouter; |
84 class WebNavigationEventRouter; | 85 class WebNavigationEventRouter; |
85 class WindowEventRouter; | 86 class WindowEventRouter; |
86 } | 87 } |
87 | 88 |
88 namespace syncer { | 89 namespace syncer { |
89 class SyncErrorFactory; | 90 class SyncErrorFactory; |
90 } | 91 } |
91 | 92 |
92 // This is an interface class to encapsulate the dependencies that | 93 // This is an interface class to encapsulate the dependencies that |
93 // various classes have on ExtensionService. This allows easy mocking. | 94 // various classes have on ExtensionService. This allows easy mocking. |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 scoped_ptr<extensions::PushMessagingEventRouter> | 849 scoped_ptr<extensions::PushMessagingEventRouter> |
849 push_messaging_event_router_; | 850 push_messaging_event_router_; |
850 | 851 |
851 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; | 852 scoped_ptr<extensions::WebNavigationEventRouter> web_navigation_event_router_; |
852 | 853 |
853 scoped_ptr<extensions::FontSettingsEventRouter> font_settings_event_router_; | 854 scoped_ptr<extensions::FontSettingsEventRouter> font_settings_event_router_; |
854 | 855 |
855 scoped_ptr<extensions::ExtensionManagedModeEventRouter> | 856 scoped_ptr<extensions::ExtensionManagedModeEventRouter> |
856 managed_mode_event_router_; | 857 managed_mode_event_router_; |
857 | 858 |
| 859 scoped_ptr<extensions::TabCaptureEventRouter> |
| 860 tab_capture_event_router_; |
| 861 |
858 #if defined(OS_CHROMEOS) | 862 #if defined(OS_CHROMEOS) |
859 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; | 863 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_; |
860 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> | 864 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> |
861 input_method_event_router_; | 865 input_method_event_router_; |
862 #endif | 866 #endif |
863 | 867 |
864 // A collection of external extension providers. Each provider reads | 868 // A collection of external extension providers. Each provider reads |
865 // a source of external extension information. Examples include the | 869 // a source of external extension information. Examples include the |
866 // windows registry and external_extensions.json. | 870 // windows registry and external_extensions.json. |
867 extensions::ProviderCollection external_extension_providers_; | 871 extensions::ProviderCollection external_extension_providers_; |
(...skipping 25 matching lines...) Expand all Loading... |
893 #endif | 897 #endif |
894 | 898 |
895 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 899 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
896 InstallAppsWithUnlimtedStorage); | 900 InstallAppsWithUnlimtedStorage); |
897 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 901 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
898 InstallAppsAndCheckStorageProtection); | 902 InstallAppsAndCheckStorageProtection); |
899 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 903 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
900 }; | 904 }; |
901 | 905 |
902 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 906 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |