Chromium Code Reviews

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

Issue 10389067: Optimized webstorage performance (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « AUTHORS ('k') | 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
diff --git a/content/browser/dom_storage/dom_storage_message_filter.h b/content/browser/dom_storage/dom_storage_message_filter.h
index aecfda575550e49ee81e9528213b0360fec9fee6..ed13e1c1e51dbf74290c5c0b65bd5ef51c47d3c6 100644
--- a/content/browser/dom_storage/dom_storage_message_filter.h
+++ b/content/browser/dom_storage/dom_storage_message_filter.h
@@ -8,6 +8,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/shared_memory.h"
#include "content/public/browser/browser_message_filter.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
#include "webkit/dom_storage/dom_storage_context.h"
@@ -52,12 +53,23 @@ class DOMStorageMessageFilter
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 OnGetItem(int connection_id,
+ const string16& key,
+ int* ipc_flag,
+ base::SharedMemoryHandle* browser_handle,
+ unsigned* shm_size,
+ NullableString16* value);
void OnSetItem(int connection_id, const string16& key,
- const string16& value, const GURL& page_url,
- WebKit::WebStorageArea::Result* result,
- NullableString16* old_value);
+ const string16& value, const GURL& page_url,
+ WebKit::WebStorageArea::Result* result,
+ NullableString16* old_value);
+ void OnSetItemOpt(
+ int connection_id, const string16& key,
+ const int value_len,
+ base::SharedMemoryHandle renderer_handle,
+ 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);
« no previous file with comments | « AUTHORS ('k') | content/browser/dom_storage/dom_storage_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine