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

Unified Diff: content/browser/indexed_db/indexed_db_callbacks.h

Issue 1841553002: IndexedDB: Use url::Origin rather than GURL for representing origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-idb
Patch Set: Created 4 years, 9 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/browser/indexed_db/indexed_db_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h
index df102389ae37b84361c84cb4e9b2bb70916ef0b7..9168e068d93b015d63db97217f07306d2d53b850 100644
--- a/content/browser/indexed_db/indexed_db_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_callbacks.h
@@ -19,7 +19,7 @@
#include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
#include "content/common/indexed_db/indexed_db_key.h"
#include "content/common/indexed_db/indexed_db_key_path.h"
-#include "url/gurl.h"
+#include "url/origin.h"
namespace content {
class IndexedDBBlobInfo;
@@ -51,7 +51,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
int32_t ipc_callbacks_id,
int32_t ipc_database_callbacks_id,
int64_t host_transaction_id,
- const GURL& origin_url);
+ const url::Origin& origin);
virtual void OnError(const IndexedDBDatabaseError& error);
@@ -130,7 +130,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
// IndexedDBDatabase callbacks ------------------------
int64_t host_transaction_id_;
- GURL origin_url_;
+ url::Origin origin_;
int32_t ipc_database_id_;
int32_t ipc_database_callbacks_id_;

Powered by Google App Engine
This is Rietveld 408576698