| Index: chrome/browser/extensions/extension_service.h
|
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
|
| index c326490a1a8cb6f32e3d039fe3a0dcb5e02b4897..1a9d8c6287cf40c9afcccc6eb186f7d2401d01ce 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -89,6 +89,8 @@ class SyncData;
|
| class SyncErrorFactory;
|
| }
|
|
|
| +typedef std::map<std::string, FilePath> UnloadedExtensionPathMap;
|
| +
|
| // This is an interface class to encapsulate the dependencies that
|
| // various classes have on ExtensionService. This allows easy mocking.
|
| class ExtensionServiceInterface : public syncer::SyncableService {
|
| @@ -457,7 +459,6 @@ class ExtensionService
|
| const extensions::ExtensionSyncData& extension_sync_data);
|
| bool ProcessAppSyncData(const extensions::AppSyncData& app_sync_data);
|
|
|
| -
|
| void set_extensions_enabled(bool enabled) { extensions_enabled_ = enabled; }
|
| bool extensions_enabled() { return extensions_enabled_; }
|
|
|
| @@ -469,6 +470,10 @@ class ExtensionService
|
| return show_extensions_prompts_;
|
| }
|
|
|
| + const UnloadedExtensionPathMap& unloaded_extension_paths() const {
|
| + return unloaded_extension_paths_;
|
| + }
|
| +
|
| Profile* profile();
|
|
|
| // TODO(skerner): Change to const ExtensionPrefs& extension_prefs() const,
|
| @@ -768,7 +773,6 @@ class ExtensionService
|
| // Map unloaded extensions' ids to their paths. When a temporarily loaded
|
| // extension is unloaded, we lose the information about it and don't have
|
| // any in the extension preferences file.
|
| - typedef std::map<std::string, FilePath> UnloadedExtensionPathMap;
|
| UnloadedExtensionPathMap unloaded_extension_paths_;
|
|
|
| // Map disabled extensions' ids to their paths. When a temporarily loaded
|
|
|