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

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: 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/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 24df03a40d7b0477c3aff323d8dee61df4d719af..c07cc3297db097398efc64068e0da038918eb213 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_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_browsertest.cc ('k') | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698