diff options
Diffstat (limited to 'extensions/shell/browser/shell_extension_system.cc')
-rw-r--r-- | extensions/shell/browser/shell_extension_system.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extensions/shell/browser/shell_extension_system.cc b/extensions/shell/browser/shell_extension_system.cc index 2ed9d7b..3fbbf14 100644 --- a/extensions/shell/browser/shell_extension_system.cc +++ b/extensions/shell/browser/shell_extension_system.cc @@ -22,6 +22,7 @@ #include "extensions/browser/quota_service.h" #include "extensions/browser/runtime_data.h" #include "extensions/browser/service_worker_manager.h" +#include "extensions/browser/value_store/value_store_factory_impl.h" #include "extensions/common/constants.h" #include "extensions/common/file_util.h" @@ -31,7 +32,9 @@ using content::BrowserThread; namespace extensions { ShellExtensionSystem::ShellExtensionSystem(BrowserContext* browser_context) - : browser_context_(browser_context), weak_factory_(this) {} + : browser_context_(browser_context), + store_factory_(new ValueStoreFactoryImpl(browser_context->GetPath())), + weak_factory_(this) {} ShellExtensionSystem::~ShellExtensionSystem() { } @@ -134,6 +137,10 @@ StateStore* ShellExtensionSystem::rules_store() { return nullptr; } +scoped_refptr<ValueStoreFactory> ShellExtensionSystem::store_factory() { + return store_factory_; +} + InfoMap* ShellExtensionSystem::info_map() { if (!info_map_.get()) info_map_ = new InfoMap; |