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

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: 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_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 b2aeb4c9573e8a0429532612e69b6051093ea9f1..245e9165a23bdc0ed43632a0d9887d8c2e35d102 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.cc
@@ -11,24 +11,22 @@ namespace content {
IndexedDBFakeBackingStore::IndexedDBFakeBackingStore()
: IndexedDBBackingStore(NULL /* indexed_db_factory */,
- GURL("http://localhost:81"),
+ url::Origin(GURL("http://localhost:81")),
base::FilePath(),
NULL /* request_context */,
scoped_ptr<LevelDBDatabase>(),
scoped_ptr<LevelDBComparator>(),
- NULL /* task_runner */) {
-}
+ NULL /* task_runner */) {}
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 */,
scoped_ptr<LevelDBDatabase>(),
scoped_ptr<LevelDBComparator>(),
- task_runner) {
-}
+ task_runner) {}
IndexedDBFakeBackingStore::~IndexedDBFakeBackingStore() {}
std::vector<base::string16> IndexedDBFakeBackingStore::GetDatabaseNames(

Powered by Google App Engine
This is Rietveld 408576698