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

Unified Diff: content/browser/indexed_db/mock_indexed_db_factory.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/browser/indexed_db/mock_indexed_db_factory.h
diff --git a/content/browser/indexed_db/mock_indexed_db_factory.h b/content/browser/indexed_db/mock_indexed_db_factory.h
index 207edf34572606406244d80093aeb2b05fd6d577..587e454fb569b9e38442ef0d039225015c0a356d 100644
--- a/content/browser/indexed_db/mock_indexed_db_factory.h
+++ b/content/browser/indexed_db/mock_indexed_db_factory.h
@@ -23,20 +23,20 @@ class MockIndexedDBFactory : public IndexedDBFactory {
bool forced_close));
MOCK_METHOD4(GetDatabaseNames,
void(scoped_refptr<IndexedDBCallbacks> callbacks,
- const GURL& origin_url,
+ const url::Origin& origin_url,
const base::FilePath& data_directory,
net::URLRequestContext* request_context));
MOCK_METHOD5(Open,
void(const base::string16& name,
const IndexedDBPendingConnection& connection,
net::URLRequestContext* request_context,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath& data_directory));
MOCK_METHOD5(DeleteDatabase,
void(const base::string16& name,
net::URLRequestContext* request_context,
scoped_refptr<IndexedDBCallbacks> callbacks,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath& data_directory));
MOCK_METHOD1(HandleBackingStoreFailure, void(const GURL& origin_url));
MOCK_METHOD2(HandleBackingStoreCorruption,

Powered by Google App Engine
This is Rietveld 408576698