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

Unified Diff: content/browser/in_process_webkit/indexed_db_database_callbacks.cc

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove OVERRIDE from dtor Created 9 years 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/in_process_webkit/indexed_db_database_callbacks.cc
diff --git a/content/browser/in_process_webkit/indexed_db_database_callbacks.cc b/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
index 2c23aa59073a48b78a717728e3dd96d1eed2fcc7..18a7caeee84e173366d913c0b344584b6c1a0d9b 100644
--- a/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
@@ -9,8 +9,10 @@
IndexedDBDatabaseCallbacks::IndexedDBDatabaseCallbacks(
IndexedDBDispatcherHost* dispatcher_host,
+ int thread_id,
int database_id)
: dispatcher_host_(dispatcher_host),
+ thread_id_(thread_id),
database_id_(database_id) {
}
@@ -20,6 +22,6 @@ IndexedDBDatabaseCallbacks::~IndexedDBDatabaseCallbacks() {
void IndexedDBDatabaseCallbacks::onVersionChange(
const WebKit::WebString& requested_version) {
dispatcher_host_->Send(
- new IndexedDBMsg_DatabaseCallbacksVersionChange(
- database_id_, requested_version));
+ new IndexedDBMsg_DatabaseCallbacksVersionChange(thread_id_, database_id_,
+ requested_version));
}

Powered by Google App Engine
This is Rietveld 408576698