| Index: content/browser/dom_storage/dom_storage_context_wrapper.h
|
| diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.h b/content/browser/dom_storage/dom_storage_context_wrapper.h
|
| index b16b7235faff85f57550ef714a6760307fa91726..837bce7d67ad32b7d7a2487e3c842576022f9572 100644
|
| --- a/content/browser/dom_storage/dom_storage_context_wrapper.h
|
| +++ b/content/browser/dom_storage/dom_storage_context_wrapper.h
|
| @@ -35,7 +35,9 @@ class CONTENT_EXPORT DOMStorageContextWrapper :
|
| public:
|
| // If |data_path| is empty, nothing will be saved to disk.
|
| DOMStorageContextWrapper(
|
| + const std::string& mojo_user_id,
|
| const base::FilePath& data_path,
|
| + const base::FilePath& local_partition_path,
|
| storage::SpecialStoragePolicy* special_storage_policy);
|
|
|
| // DOMStorageContext implementation.
|
| @@ -74,12 +76,10 @@ class CONTENT_EXPORT DOMStorageContextWrapper :
|
| ~DOMStorageContextWrapper() override;
|
| DOMStorageContextImpl* context() const { return context_.get(); }
|
|
|
| - void LevelDBWrapperImplHasNoBindings(const std::string& origin);
|
| -
|
| - // Used for mojo-based LocalStorage implementation (behind
|
| - // --mojo-local-storage for now). Maps between an origin and its prefixed
|
| - // LevelDB view.
|
| - std::map<std::string, scoped_ptr<LevelDBWrapperImpl>> level_db_wrappers_;
|
| + // An inner class to keep all mojo-ish details together and not bleed them
|
| + // through the public interface.
|
| + class MojoState;
|
| + scoped_ptr<MojoState> mojo_state_;
|
|
|
| scoped_refptr<DOMStorageContextImpl> context_;
|
|
|
|
|