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

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

Issue 1755343002: IndexedDB: Pass origin to platform/IPC, rather than DatabaseIdentifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 4c211a7d18c5e9140424894486135adbf5437d2d..f0ec336ad9cd756767f6831d842899da7413623f 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -47,8 +47,8 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
// The response should have these ids.
IPC_STRUCT_MEMBER(int32_t, ipc_thread_id)
IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id)
- // The string id of the origin doing the initiating.
- IPC_STRUCT_MEMBER(std::string, database_identifier)
+ // The origin doing the initiating.
+ IPC_STRUCT_MEMBER(GURL, origin)
Mike West 2016/03/03 05:49:08 I think I'm missing something here... If you're ch
jsbell 2016/03/08 17:17:11 On the content/browser side ("back end") this is u
IPC_STRUCT_END()
// Used to open an indexed database.
@@ -59,8 +59,8 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id)
// Identifier for database callbacks
IPC_STRUCT_MEMBER(int32_t, ipc_database_callbacks_id)
- // The string id of the origin doing the initiating.
- IPC_STRUCT_MEMBER(std::string, database_identifier)
+ // The origin doing the initiating.
+ IPC_STRUCT_MEMBER(GURL, origin)
// The name of the database.
IPC_STRUCT_MEMBER(base::string16, name)
// The transaction id used if a database upgrade is needed.
@@ -74,8 +74,8 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params)
// The response should have these ids.
IPC_STRUCT_MEMBER(int32_t, ipc_thread_id)
IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id)
- // The string id of the origin doing the initiating.
- IPC_STRUCT_MEMBER(std::string, database_identifier)
+ // The origin doing the initiating.
+ IPC_STRUCT_MEMBER(GURL, origin)
// The name of the database.
IPC_STRUCT_MEMBER(base::string16, name)
IPC_STRUCT_END()
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.cc ('k') | third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698