summaryrefslogtreecommitdiffstats
path: root/webkit/glue/idb_bindings.h
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-17 12:56:09 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-17 12:56:09 +0000
commitd20e0b986707dd49ae7a2cad347f4e50140ec86e (patch)
treeb0cef7b8dcf072f4640ec9d24b9e546c501df52a /webkit/glue/idb_bindings.h
parent7e58a5a1b1a11dd3571127dc952e32fc841a50ad (diff)
downloadchromium_src-d20e0b986707dd49ae7a2cad347f4e50140ec86e.zip
chromium_src-d20e0b986707dd49ae7a2cad347f4e50140ec86e.tar.gz
chromium_src-d20e0b986707dd49ae7a2cad347f4e50140ec86e.tar.bz2
IndexedDB: Allow injection of keys into values via key path.
BUG=70118 TEST=browser_tests Review URL: http://codereview.chromium.org/6529021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/idb_bindings.h')
-rw-r--r--webkit/glue/idb_bindings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/idb_bindings.h b/webkit/glue/idb_bindings.h
index 074595d..7d7c90d 100644
--- a/webkit/glue/idb_bindings.h
+++ b/webkit/glue/idb_bindings.h
@@ -22,4 +22,9 @@ bool IDBKeysFromValuesAndKeyPath(
const string16& idb_key_path,
std::vector<WebKit::WebIDBKey>* values);
+WebKit::WebSerializedScriptValue InjectIDBKey(
+ const WebKit::WebIDBKey& key,
+ const WebKit::WebSerializedScriptValue& value,
+ const string16& idb_key_path);
+
} // namespace webkit_glue