| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   50 class BookmarkExtensionEventRouter; |   50 class BookmarkExtensionEventRouter; | 
|   51 class CrxInstaller; |   51 class CrxInstaller; | 
|   52 class ExtensionBrowserEventRouter; |   52 class ExtensionBrowserEventRouter; | 
|   53 class ExtensionContentSettingsStore; |   53 class ExtensionContentSettingsStore; | 
|   54 class ExtensionCookiesEventRouter; |   54 class ExtensionCookiesEventRouter; | 
|   55 class ExtensionDownloadsEventRouter; |   55 class ExtensionDownloadsEventRouter; | 
|   56 class ExtensionGlobalError; |   56 class ExtensionGlobalError; | 
|   57 class ExtensionManagementEventRouter; |   57 class ExtensionManagementEventRouter; | 
|   58 class ExtensionPreferenceEventRouter; |   58 class ExtensionPreferenceEventRouter; | 
|   59 class ExtensionSyncData; |   59 class ExtensionSyncData; | 
 |   60 class ExtensionSystem; | 
|   60 class ExtensionToolbarModel; |   61 class ExtensionToolbarModel; | 
|   61 class ExtensionWebNavigationEventRouter; |   62 class ExtensionWebNavigationEventRouter; | 
|   62 class HistoryExtensionEventRouter; |   63 class HistoryExtensionEventRouter; | 
|   63 class GURL; |   64 class GURL; | 
|   64 class PendingExtensionManager; |   65 class PendingExtensionManager; | 
|   65 class Profile; |   66 class Profile; | 
|   66 class SyncData; |   67 class SyncData; | 
|   67 class Version; |   68 class Version; | 
|   68  |   69  | 
|   69 namespace chromeos { |   70 namespace chromeos { | 
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  694   // browser process. |  695   // browser process. | 
|  695   void RegisterNaClModule(const GURL& url, const std::string& mime_type); |  696   void RegisterNaClModule(const GURL& url, const std::string& mime_type); | 
|  696   void UnregisterNaClModule(const GURL& url); |  697   void UnregisterNaClModule(const GURL& url); | 
|  697  |  698  | 
|  698   // Call UpdatePluginListWithNaClModules() after registering or unregistering |  699   // Call UpdatePluginListWithNaClModules() after registering or unregistering | 
|  699   // a NaCl module to see those changes reflected in the PluginList. |  700   // a NaCl module to see those changes reflected in the PluginList. | 
|  700   void UpdatePluginListWithNaClModules(); |  701   void UpdatePluginListWithNaClModules(); | 
|  701  |  702  | 
|  702   NaClModuleInfoList::iterator FindNaClModule(const GURL& url); |  703   NaClModuleInfoList::iterator FindNaClModule(const GURL& url); | 
|  703  |  704  | 
|  704   // The profile this ExtensionService is part of. |  705   // The normal profile associated with this ExtensionService. | 
|  705   Profile* profile_; |  706   Profile* profile_; | 
|  706  |  707  | 
 |  708   // The ExtensionSystem for the profile above. | 
 |  709   ExtensionSystem* system_; | 
 |  710  | 
|  707   // Preferences for the owning profile (weak reference). |  711   // Preferences for the owning profile (weak reference). | 
|  708   ExtensionPrefs* extension_prefs_; |  712   ExtensionPrefs* extension_prefs_; | 
|  709  |  713  | 
|  710   // Settings for the owning profile. |  714   // Settings for the owning profile. | 
|  711   scoped_ptr<extensions::SettingsFrontend> settings_frontend_; |  715   scoped_ptr<extensions::SettingsFrontend> settings_frontend_; | 
|  712  |  716  | 
|  713   // The current list of installed extensions. |  717   // The current list of installed extensions. | 
|  714   // TODO(aa): This should use chrome/common/extensions/extension_set.h. |  718   // TODO(aa): This should use chrome/common/extensions/extension_set.h. | 
|  715   ExtensionSet extensions_; |  719   ExtensionSet extensions_; | 
|  716  |  720  | 
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  845   scoped_ptr<ExtensionGlobalError> extension_global_error_; |  849   scoped_ptr<ExtensionGlobalError> extension_global_error_; | 
|  846  |  850  | 
|  847   FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |  851   FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 
|  848                            InstallAppsWithUnlimtedStorage); |  852                            InstallAppsWithUnlimtedStorage); | 
|  849   FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |  853   FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 
|  850                            InstallAppsAndCheckStorageProtection); |  854                            InstallAppsAndCheckStorageProtection); | 
|  851   DISALLOW_COPY_AND_ASSIGN(ExtensionService); |  855   DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 
|  852 }; |  856 }; | 
|  853  |  857  | 
|  854 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |  858 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 
| OLD | NEW |