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

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

Issue 18075008: IndexedDB: Switch key/value handling from vector<char> to std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove C++11ism Created 7 years, 5 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/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a79bb28ab8e7fd446e6d8b2ec5dd6cd641c0a094..5c56d88ebfd66fb1faa3d4730cc9c9ac60f79adf 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -127,7 +127,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabasePut_Params)
// The index's id.
IPC_STRUCT_MEMBER(int64, index_id)
// The value to set.
- IPC_STRUCT_MEMBER(std::vector<char>, value)
+ IPC_STRUCT_MEMBER(std::string, value)
// The key to set it on (may not be "valid"/set in some cases).
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
// Whether this is an add or a put.
@@ -236,7 +236,7 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursor_Params)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
- IPC_STRUCT_MEMBER(std::vector<char>, value)
+ IPC_STRUCT_MEMBER(std::string, value)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
@@ -245,7 +245,7 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
- IPC_STRUCT_MEMBER(std::vector<char>, value)
+ IPC_STRUCT_MEMBER(std::string, value)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
@@ -254,7 +254,7 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, keys)
IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, primary_keys)
- IPC_STRUCT_MEMBER(std::vector<std::vector<char> >, values)
+ IPC_STRUCT_MEMBER(std::vector<std::string>, values)
IPC_STRUCT_END()
// metadata payload for WebIDBMetadata
@@ -326,11 +326,11 @@ IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey,
IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessValue,
int32 /* ipc_thread_id */,
int32 /* ipc_callbacks_id */,
- std::vector<char> /* value */)
+ std::string /* value */)
IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessValueWithKey,
int32 /* ipc_thread_id */,
int32 /* ipc_callbacks_id */,
- std::vector<char> /* value */,
+ std::string /* value */,
content::IndexedDBKey /* indexed_db_key */,
content::IndexedDBKeyPath /* indexed_db_keypath */)
IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessInteger,
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698