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

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

Issue 10160003: DomStorage async IPC message definitions and browser-side handlers. These messages aren't called ye… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 133523)
+++ content/browser/dom_storage/dom_storage_message_filter.h (working copy)
@@ -49,17 +49,24 @@
void OnOpenStorageArea(int connection_id, int64 namespace_id,
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& url,
+ 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);
+
void OnRemoveItem(int connection_id, const string16& key,
- const GURL& url, NullableString16* old_value);
+ 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);
// 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