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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher.cc

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/child/indexed_db/indexed_db_dispatcher.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher.cc b/content/child/indexed_db/indexed_db_dispatcher.cc
index 53113b1916d02b459803691a89aa2a2a048ec942..aa40cca350f2e8548188b939f202ec53a261f290 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher.cc
@@ -222,7 +222,7 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen(
int64_t transaction_id,
WebIDBCallbacks* callbacks_ptr,
WebIDBDatabaseCallbacks* database_callbacks_ptr,
- const GURL& origin) {
+ const url::Origin& origin) {
std::unique_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
std::unique_ptr<WebIDBDatabaseCallbacks> database_callbacks(
database_callbacks_ptr);
@@ -241,7 +241,7 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen(
void IndexedDBDispatcher::RequestIDBFactoryGetDatabaseNames(
WebIDBCallbacks* callbacks_ptr,
- const GURL& origin) {
+ const url::Origin& origin) {
std::unique_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
IndexedDBHostMsg_FactoryGetDatabaseNames_Params params;
@@ -254,7 +254,7 @@ void IndexedDBDispatcher::RequestIDBFactoryGetDatabaseNames(
void IndexedDBDispatcher::RequestIDBFactoryDeleteDatabase(
const base::string16& name,
WebIDBCallbacks* callbacks_ptr,
- const GURL& origin) {
+ const url::Origin& origin) {
std::unique_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
IndexedDBHostMsg_FactoryDeleteDatabase_Params params;

Powered by Google App Engine
This is Rietveld 408576698