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

Unified Diff: content/common/indexed_db/proxy_webidbfactory_impl.cc

Issue 10917099: Chromium side of "consolidate two-phase connection to avoid race conditions". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/common/indexed_db/proxy_webidbfactory_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbfactory_impl.cc b/content/common/indexed_db/proxy_webidbfactory_impl.cc
index d4bd56917e75c255aee35eaff511c68213866e0b..a9cbc07cb05ce85d190acc4730ad95a2eff41446 100644
--- a/content/common/indexed_db/proxy_webidbfactory_impl.cc
+++ b/content/common/indexed_db/proxy_webidbfactory_impl.cc
@@ -13,6 +13,7 @@ using WebKit::WebDOMStringList;
using WebKit::WebFrame;
using WebKit::WebIDBCallbacks;
using WebKit::WebIDBDatabase;
+using WebKit::WebIDBDatabaseCallbacks;
using WebKit::WebSecurityOrigin;
using WebKit::WebString;
@@ -37,6 +38,7 @@ void RendererWebIDBFactoryImpl::open(
const WebString& name,
long long version,
WebIDBCallbacks* callbacks,
+ WebIDBDatabaseCallbacks* database_callbacks,
const WebSecurityOrigin& origin,
WebFrame* web_frame,
const WebString& data_dir) {
@@ -45,7 +47,8 @@ void RendererWebIDBFactoryImpl::open(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBFactoryOpen(
- name, version, callbacks, origin.databaseIdentifier(), web_frame);
+ name, version, callbacks, database_callbacks, origin.databaseIdentifier(),
+ web_frame);
}
void RendererWebIDBFactoryImpl::deleteDatabase(

Powered by Google App Engine
This is Rietveld 408576698