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

Unified Diff: content/browser/indexed_db/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/indexed_db_factory.h
diff --git a/content/browser/indexed_db/indexed_db_factory.h b/content/browser/indexed_db/indexed_db_factory.h
index a50e5b3631cae3f62d9dcd040d9144204b99e47a..bcbf4b51c0950cef5786537e137ee2d7d8cdd030 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -21,6 +21,7 @@
#include "content/browser/indexed_db/indexed_db_database_callbacks.h"
#include "content/common/content_export.h"
#include "url/gurl.h"
+#include "url/origin.h"
namespace net {
class URLRequestContext;
@@ -42,19 +43,19 @@ class CONTENT_EXPORT IndexedDBFactory
bool forced_close) = 0;
virtual void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath& data_directory,
net::URLRequestContext* request_context) = 0;
virtual void Open(const base::string16& name,
const IndexedDBPendingConnection& connection,
net::URLRequestContext* request_context,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath& data_directory) = 0;
virtual void DeleteDatabase(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) = 0;
virtual void HandleBackingStoreFailure(const GURL& origin_url) = 0;

Powered by Google App Engine
This is Rietveld 408576698