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

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

Issue 17033004: Tell IDB frontend about data loss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug Created 7 years, 6 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/indexed_db_dispatcher.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher.cc b/content/child/indexed_db/indexed_db_dispatcher.cc
index 6d35412f735cf9f432d1a64fb1f85fb26ee3d213..8c2c09603715dac1c11c8c0bb021af10b0143b65 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher.cc
@@ -637,7 +637,7 @@ void IndexedDBDispatcher::OnUpgradeNeeded(
databases_[p.ipc_database_id] = new RendererWebIDBDatabaseImpl(
p.ipc_database_id, p.ipc_database_callbacks_id);
callbacks->onUpgradeNeeded(
- p.old_version, databases_[p.ipc_database_id], metadata);
+ p.old_version, databases_[p.ipc_database_id], metadata, p.data_loss);
}
void IndexedDBDispatcher::OnError(int32 ipc_thread_id,

Powered by Google App Engine
This is Rietveld 408576698