| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSIONS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 void LoadInstalledExtension( | 245 void LoadInstalledExtension( |
| 246 DictionaryValue* manifest, const std::string& id, | 246 DictionaryValue* manifest, const std::string& id, |
| 247 const FilePath& path, Extension::Location location); | 247 const FilePath& path, Extension::Location location); |
| 248 | 248 |
| 249 // Handles sending notification that |extension| was loaded. | 249 // Handles sending notification that |extension| was loaded. |
| 250 void NotifyExtensionLoaded(Extension* extension); | 250 void NotifyExtensionLoaded(Extension* extension); |
| 251 | 251 |
| 252 // Handles sending notification that |extension| was unloaded. | 252 // Handles sending notification that |extension| was unloaded. |
| 253 void NotifyExtensionUnloaded(Extension* extension); | 253 void NotifyExtensionUnloaded(Extension* extension); |
| 254 | 254 |
| 255 // Helper that updates the active extension list used for crash reporting. |
| 256 void UpdateActiveExtensionsInCrashReporter(); |
| 257 |
| 255 // The profile this ExtensionsService is part of. | 258 // The profile this ExtensionsService is part of. |
| 256 Profile* profile_; | 259 Profile* profile_; |
| 257 | 260 |
| 258 // Preferences for the owning profile. | 261 // Preferences for the owning profile. |
| 259 scoped_ptr<ExtensionPrefs> extension_prefs_; | 262 scoped_ptr<ExtensionPrefs> extension_prefs_; |
| 260 | 263 |
| 261 // The current list of installed extensions. | 264 // The current list of installed extensions. |
| 262 ExtensionList extensions_; | 265 ExtensionList extensions_; |
| 263 | 266 |
| 264 // The list of installed extensions that have been disabled. | 267 // The list of installed extensions that have been disabled. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 | 387 |
| 385 // A map of all external extension providers. | 388 // A map of all external extension providers. |
| 386 typedef std::map<Extension::Location, | 389 typedef std::map<Extension::Location, |
| 387 linked_ptr<ExternalExtensionProvider> > ProviderMap; | 390 linked_ptr<ExternalExtensionProvider> > ProviderMap; |
| 388 ProviderMap external_extension_providers_; | 391 ProviderMap external_extension_providers_; |
| 389 | 392 |
| 390 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); | 393 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); |
| 391 }; | 394 }; |
| 392 | 395 |
| 393 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 396 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
| OLD | NEW |