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

Unified Diff: content/child/indexed_db/webidbfactory_impl.cc

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/child/indexed_db/webidbfactory_impl.cc
diff --git a/content/child/indexed_db/webidbfactory_impl.cc b/content/child/indexed_db/webidbfactory_impl.cc
index 770f1328c7a03b2fb492e72148ffab464a508049..b803dc2b1330c0fbd72afdc9a810a18ab801a1f7 100644
--- a/content/child/indexed_db/webidbfactory_impl.cc
+++ b/content/child/indexed_db/webidbfactory_impl.cc
@@ -27,8 +27,7 @@ void WebIDBFactoryImpl::getDatabaseNames(WebIDBCallbacks* callbacks,
const WebSecurityOrigin& origin) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
- dispatcher->RequestIDBFactoryGetDatabaseNames(
- callbacks, WebSecurityOriginToGURL(origin));
+ dispatcher->RequestIDBFactoryGetDatabaseNames(callbacks, origin);
}
void WebIDBFactoryImpl::open(const WebString& name,
@@ -41,8 +40,7 @@ void WebIDBFactoryImpl::open(const WebString& name,
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
dispatcher->RequestIDBFactoryOpen(name, version, transaction_id, callbacks,
- database_callbacks,
- WebSecurityOriginToGURL(origin));
+ database_callbacks, origin);
}
void WebIDBFactoryImpl::deleteDatabase(const WebString& name,
@@ -50,8 +48,7 @@ void WebIDBFactoryImpl::deleteDatabase(const WebString& name,
const WebSecurityOrigin& origin) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
- dispatcher->RequestIDBFactoryDeleteDatabase(name, callbacks,
- WebSecurityOriginToGURL(origin));
+ dispatcher->RequestIDBFactoryDeleteDatabase(name, callbacks, origin);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698