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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher.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/child/indexed_db/indexed_db_dispatcher.h
diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h
index a69f20ebbc97d29aa76dfff4e90a3e1661e1d66c..9e5068db7b6f12e14a3ef48bc722d0bcdf3e2093 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.h
+++ b/content/child/indexed_db/indexed_db_dispatcher.h
@@ -25,7 +25,7 @@
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h"
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h"
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
-#include "url/gurl.h"
+#include "url/origin.h"
struct IndexedDBDatabaseMetadata;
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
@@ -75,18 +75,18 @@ class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer {
virtual bool Send(IPC::Message* msg);
void RequestIDBFactoryGetDatabaseNames(blink::WebIDBCallbacks* callbacks,
- const GURL& origin);
+ const url::Origin& origin);
void RequestIDBFactoryOpen(const base::string16& name,
int64_t version,
int64_t transaction_id,
blink::WebIDBCallbacks* callbacks,
blink::WebIDBDatabaseCallbacks* database_callbacks,
- const GURL& origin);
+ const url::Origin& origin);
void RequestIDBFactoryDeleteDatabase(const base::string16& name,
blink::WebIDBCallbacks* callbacks,
- const GURL& origin);
+ const url::Origin& origin);
// This method is virtual so it can be overridden in unit tests.
virtual void RequestIDBCursorAdvance(unsigned long count,

Powered by Google App Engine
This is Rietveld 408576698