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

Unified Diff: webkit/dom_storage/dom_storage_host.cc

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 | « webkit/dom_storage/dom_storage_host.h ('k') | webkit/dom_storage/dom_storage_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_host.cc
===================================================================
--- webkit/dom_storage/dom_storage_host.cc (revision 133523)
+++ webkit/dom_storage/dom_storage_host.cc (working copy)
@@ -47,6 +47,16 @@
connections_.erase(found);
}
+bool DomStorageHost::ExtractAreaValues(
+ int connection_id, ValuesMap* map) {
+ map->clear();
+ AreaMap::iterator found = connections_.find(connection_id);
+ if (found == connections_.end())
+ return false; // Indicates the renderer gave us very bad data.
+ found->second.area_->ExtractValues(map);
+ return true;
+}
+
unsigned DomStorageHost::GetAreaLength(int connection_id) {
DomStorageArea* area = GetOpenArea(connection_id);
if (!area)
« no previous file with comments | « webkit/dom_storage/dom_storage_host.h ('k') | webkit/dom_storage/dom_storage_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698