Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Unified Diff: content/renderer/dom_storage/local_storage_namespace.h

Issue 1745603002: Switch LevelDBWrapper::GetAll to use the new Mojo sync IPC mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/dom_storage/local_storage_namespace.h
diff --git a/content/renderer/dom_storage/local_storage_namespace.h b/content/renderer/dom_storage/local_storage_namespace.h
index 36b7bd8eff1bef4e80a28346620de7c480e03482..08045c574810327248808ecb4448b34e8a0a89a7 100644
--- a/content/renderer/dom_storage/local_storage_namespace.h
+++ b/content/renderer/dom_storage/local_storage_namespace.h
@@ -9,13 +9,13 @@
#include "third_party/WebKit/public/platform/WebStorageNamespace.h"
namespace content {
-class StoragePartitionService;
+class LocalStorageCachedAreas;
-// An in-process implementation of LocalStorage using a LevelDB Mojo service.
class LocalStorageNamespace : public blink::WebStorageNamespace {
public:
+ // |local_storage_cached_areas| is guaranteed to outlive this object.
explicit LocalStorageNamespace(
- StoragePartitionService* storage_partition_service);
+ LocalStorageCachedAreas* local_storage_cached_areas);
~LocalStorageNamespace() override;
// blink::WebStorageNamespace:
@@ -24,7 +24,7 @@ class LocalStorageNamespace : public blink::WebStorageNamespace {
bool isSameNamespace(const WebStorageNamespace&) const override;
private:
- StoragePartitionService* const storage_partition_service_;
+ LocalStorageCachedAreas* const local_storage_cached_areas_;
DISALLOW_COPY_AND_ASSIGN(LocalStorageNamespace);
};
« no previous file with comments | « content/renderer/dom_storage/local_storage_cached_areas.cc ('k') | content/renderer/dom_storage/local_storage_namespace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698