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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 10204003: Use WebIDBKeyPath type in WebKit API, implement IndexedDBKeyPath type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move IndexedDBKeyPath to content namespace, formatting nits. 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/browser/in_process_webkit/indexed_db_dispatcher_host.h
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index c22ac1c83d1989186c9632f2d6dcc4252bc06cd7..80da39009391e67be5499abe6da746dcb7a18804 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -17,7 +17,6 @@ class GURL;
class IndexedDBContextImpl;
class IndexedDBKey;
class IndexedDBKeyRange;
-class NullableString16;
struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
@@ -39,6 +38,7 @@ class WebIDBTransaction;
}
namespace content {
+class IndexedDBKeyPath;
class SerializedScriptValue;
}
@@ -156,7 +156,7 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void OnName(int32 idb_index_id, string16* name);
void OnStoreName(int32 idb_index_id, string16* store_name);
- void OnKeyPath(int32 idb_index_id, NullableString16* key_path);
+ void OnKeyPath(int32 idb_index_id, content::IndexedDBKeyPath* key_path);
void OnUnique(int32 idb_index_id, bool* unique);
void OnMultiEntry(int32 idb_index_id, bool* multi_entry);
void OnOpenObjectCursor(
@@ -193,7 +193,8 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void Send(IPC::Message* message);
void OnName(int32 idb_object_store_id, string16* name);
- void OnKeyPath(int32 idb_object_store_id, NullableString16* keyPath);
+ void OnKeyPath(int32 idb_object_store_id,
+ content::IndexedDBKeyPath* keyPath);
void OnIndexNames(int32 idb_object_store_id,
std::vector<string16>* index_names);
void OnGet(int idb_object_store_id,

Powered by Google App Engine
This is Rietveld 408576698