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

Unified Diff: content/browser/dom_storage/dom_storage_message_filter.h

Issue 10383123: Switch to using the async DomStorage IPC messages and add a caching layer … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « no previous file | content/browser/dom_storage/dom_storage_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_message_filter.h
===================================================================
--- content/browser/dom_storage/dom_storage_message_filter.h (revision 139572)
+++ content/browser/dom_storage/dom_storage_message_filter.h (working copy)
@@ -50,23 +50,12 @@
const GURL& origin);
void OnCloseStorageArea(int connection_id);
void OnLoadStorageArea(int connection_id, dom_storage::ValuesMap* map);
- void OnLength(int connection_id, unsigned* length);
- void OnKey(int connection_id, unsigned index, NullableString16* key);
- void OnGetItem(int connection_id, const string16& key,
- NullableString16* value);
void OnSetItem(int connection_id, const string16& key,
- const string16& value, const GURL& page_url,
- WebKit::WebStorageArea::Result* result,
- NullableString16* old_value);
- void OnSetItemAsync(int connection_id, int operation_id, const string16& key,
- const string16& value, const GURL& page_url);
-
+ const string16& value, const GURL& page_url);
void OnRemoveItem(int connection_id, const string16& key,
- const GURL& page_url, NullableString16* old_value);
- void OnRemoveItemAsync(int connection_id, int operation_id,
- const string16& key, const GURL& page_url);
- void OnClear(int connection_id, const GURL& url, bool* something_cleared);
- void OnClearAsync(int connection_id, int operation_id, const GURL& page_url);
+ const GURL& page_url);
+ void OnClear(int connection_id, const GURL& page_url);
+ void OnFlushMessages();
// DomStorageContext::EventObserver implementation which
// sends events back to our renderer process.
« no previous file with comments | « no previous file | content/browser/dom_storage/dom_storage_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698