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

Unified Diff: content/common/indexed_db/proxy_webidbobjectstore_impl.cc

Issue 10332204: IPC plumbing for IDBObjectStore.autoIncrement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch that actually compiles and passes tests 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 | « content/common/indexed_db/proxy_webidbobjectstore_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/proxy_webidbobjectstore_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
index b3dd8c0119481af9a9a441f925b2ae01fe8af410..0c5d881f62783fc2ddc024d3f064711113f9c119 100644
--- a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
+++ b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
@@ -73,6 +73,14 @@ WebDOMStringList RendererWebIDBObjectStoreImpl::indexNames() const {
return web_result;
}
+bool RendererWebIDBObjectStoreImpl::autoIncrement() const {
+ bool result;
+ IndexedDBDispatcher::Send(
+ new IndexedDBHostMsg_ObjectStoreAutoIncrement(
+ idb_object_store_id_, &result));
+ return result;
+}
+
void RendererWebIDBObjectStoreImpl::get(
const WebIDBKeyRange& key_range,
WebIDBCallbacks* callbacks,
« no previous file with comments | « content/common/indexed_db/proxy_webidbobjectstore_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698