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

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

Issue 1832553002: IndexedDB: Pass url::Origin rather than GURL over IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-wdb
Patch Set: Rebased Created 4 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 f0ec336ad9cd756767f6831d842899da7413623f..68af020df66f3263d23be24d53fb28527371c7ed 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -17,6 +17,7 @@
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_param_traits.h"
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
+#include "url/origin.h"
// Singly-included section for typedefs in multiply-included file.
#ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_
@@ -48,7 +49,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
IPC_STRUCT_MEMBER(int32_t, ipc_thread_id)
IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id)
// The origin doing the initiating.
- IPC_STRUCT_MEMBER(GURL, origin)
+ IPC_STRUCT_MEMBER(url::Origin, origin)
IPC_STRUCT_END()
// Used to open an indexed database.
@@ -60,7 +61,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
// Identifier for database callbacks
IPC_STRUCT_MEMBER(int32_t, ipc_database_callbacks_id)
// The origin doing the initiating.
- IPC_STRUCT_MEMBER(GURL, origin)
+ IPC_STRUCT_MEMBER(url::Origin, origin)
// The name of the database.
IPC_STRUCT_MEMBER(base::string16, name)
// The transaction id used if a database upgrade is needed.
@@ -75,7 +76,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params)
IPC_STRUCT_MEMBER(int32_t, ipc_thread_id)
IPC_STRUCT_MEMBER(int32_t, ipc_callbacks_id)
// The origin doing the initiating.
- IPC_STRUCT_MEMBER(GURL, origin)
+ IPC_STRUCT_MEMBER(url::Origin, origin)
// The name of the database.
IPC_STRUCT_MEMBER(base::string16, name)
IPC_STRUCT_END()

Powered by Google App Engine
This is Rietveld 408576698