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

Unified Diff: content/browser/indexed_db/indexed_db_fake_backing_store.cc

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_fake_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.cc b/content/browser/indexed_db/indexed_db_fake_backing_store.cc
index bed9d94dfc73c94196b8f7795c2a729f13d1c1b5..8eeec7de5ca718138f04439d30c77ba4673ff071 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.cc
@@ -12,7 +12,7 @@ namespace content {
IndexedDBFakeBackingStore::IndexedDBFakeBackingStore()
: IndexedDBBackingStore(NULL /* indexed_db_factory */,
- GURL("http://localhost:81"),
+ url::Origin(GURL("http://localhost:81")),
base::FilePath(),
NULL /* request_context */,
std::unique_ptr<LevelDBDatabase>(),
@@ -22,7 +22,7 @@ IndexedDBFakeBackingStore::IndexedDBFakeBackingStore(
IndexedDBFactory* factory,
base::SequencedTaskRunner* task_runner)
: IndexedDBBackingStore(factory,
- GURL("http://localhost:81"),
+ url::Origin(GURL("http://localhost:81")),
base::FilePath(),
NULL /* request_context */,
std::unique_ptr<LevelDBDatabase>(),
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698