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

Unified Diff: content/common/indexed_db/proxy_webidbdatabase_impl.h

Issue 11791009: IPC implementation for create/delete ObjectStore/Index (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add HostTransactionId where appropriate Created 7 years, 11 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
Index: content/common/indexed_db/proxy_webidbdatabase_impl.h
diff --git a/content/common/indexed_db/proxy_webidbdatabase_impl.h b/content/common/indexed_db/proxy_webidbdatabase_impl.h
index 3e0429705f5633dfa817b0c00a0b76c9270e4bd6..dcf14eb9531bc5ae777b0eee04038d7d4b967a57 100644
--- a/content/common/indexed_db/proxy_webidbdatabase_impl.h
+++ b/content/common/indexed_db/proxy_webidbdatabase_impl.h
@@ -31,10 +31,19 @@ class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
bool auto_increment,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
+ virtual void createObjectStore(
+ long long transaction_id,
+ long long objectstore_id,
+ const WebKit::WebString& name,
+ const WebKit::WebIDBKeyPath& key_path,
+ bool auto_increment);
virtual void deleteObjectStore(
long long object_store_id,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
+ virtual void deleteObjectStore(
+ long long transaction_id,
+ long long object_store_id);
virtual WebKit::WebIDBTransaction* createTransaction(
long long transaction_id,
const WebKit::WebVector<long long>& scope,
@@ -82,7 +91,16 @@ class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
virtual void clear(long long transactionId,
long long objectStoreId,
WebKit::WebIDBCallbacks*);
-
+ virtual void createIndex(long long transactionId,
+ long long objectStoreId,
+ long long indexId,
+ const WebKit::WebString& name,
+ const WebKit::WebIDBKeyPath&,
+ bool unique,
+ bool multiEntry);
+ virtual void deleteIndex(long long transactionId, long
+ long objectStoreId,
+ long long indexId);
private:
int32 ipc_database_id_;
};
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698