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

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

Issue 2611843004: Implement throttling behavior for LocalStorage mojo messages.
Patch Set: Created 3 years, 11 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
« no previous file with comments | « content/common/leveldb_wrapper.mojom ('k') | content/renderer/dom_storage/local_storage_cached_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/local_storage_cached_area.h
diff --git a/content/renderer/dom_storage/local_storage_cached_area.h b/content/renderer/dom_storage/local_storage_cached_area.h
index e2902af83a113125e6f50addfc4b975337382810..78150b9ba4b054024a4c843bb2eded10c503a0d3 100644
--- a/content/renderer/dom_storage/local_storage_cached_area.h
+++ b/content/renderer/dom_storage/local_storage_cached_area.h
@@ -87,6 +87,8 @@ class LocalStorageCachedArea : public mojom::LevelDBObserver,
// fetched already.
void EnsureLoaded();
+ void FlushIfNeeded();
+
void OnSetItemComplete(const base::string16& key, bool success);
void OnRemoveItemComplete(const base::string16& key, bool success);
void OnClearComplete(bool success);
« no previous file with comments | « content/common/leveldb_wrapper.mojom ('k') | content/renderer/dom_storage/local_storage_cached_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698