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

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

Issue 10204003: Use WebIDBKeyPath type in WebKit API, implement IndexedDBKeyPath type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Delete stray space. 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
Index: content/common/indexed_db/indexed_db_messages.h
diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h
index 3f0ec5ce7fda3ca23d09741d6f75cdf106ccfcb8..8cc7bfdda8a941b255e1a3e58b691cf2ef6dc34c 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -7,6 +7,7 @@
#include <vector>
#include "content/common/indexed_db/indexed_db_key.h"
+#include "content/common/indexed_db/indexed_db_key_path.h"
#include "content/common/indexed_db/indexed_db_key_range.h"
#include "content/common/indexed_db/indexed_db_param_traits.h"
#include "content/public/common/serialized_script_value.h"
@@ -57,7 +58,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateObjectStore_Params)
// The name of the object store.
IPC_STRUCT_MEMBER(string16, name)
// The keyPath of the object store.
- IPC_STRUCT_MEMBER(NullableString16, key_path)
+ IPC_STRUCT_MEMBER(IndexedDBKeyPath, key_path)
// Whether the object store created should have a key generator.
IPC_STRUCT_MEMBER(bool, auto_increment)
// The transaction this is associated with.
@@ -116,7 +117,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params)
// The name of the index.
IPC_STRUCT_MEMBER(string16, name)
// The keyPath of the index.
- IPC_STRUCT_MEMBER(NullableString16, key_path)
+ IPC_STRUCT_MEMBER(IndexedDBKeyPath, key_path)
// Whether the index created has unique keys.
IPC_STRUCT_MEMBER(bool, unique)
// Whether the index created produces keys for each array entry.
@@ -384,7 +385,7 @@ IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexStoreName,
// WebIDBIndex::keyPath() message.
IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexKeyPath,
int32, /* idb_index_id */
- NullableString16 /* key_path */)
+ IndexedDBKeyPath /* key_path */)
// WebIDBIndex::unique() message.
IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexUnique,
@@ -441,7 +442,7 @@ IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName,
// WebIDBObjectStore::keyPath() message.
IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath,
int32, /* idb_object_store_id */
- NullableString16 /* keyPath */)
+ IndexedDBKeyPath /* keyPath */)
// WebIDBObjectStore::indexNames() message.
IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames,

Powered by Google App Engine
This is Rietveld 408576698