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

Unified Diff: Source/modules/indexeddb/IDBCallbacks.h

Issue 17060008: Add dataLoss property to IDB's upgradeneeded event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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: Source/modules/indexeddb/IDBCallbacks.h
diff --git a/Source/modules/indexeddb/IDBCallbacks.h b/Source/modules/indexeddb/IDBCallbacks.h
index caf2fdc0b77ce8520ac9654d00ddea3263bc27c9..ae13de2f3e9b915dffda21b3770c571b3b045aff 100644
--- a/Source/modules/indexeddb/IDBCallbacks.h
+++ b/Source/modules/indexeddb/IDBCallbacks.h
@@ -65,7 +65,7 @@ public:
// From IDBFactory.open()/deleteDatabase()
virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED(); }
// From IDBFactory.open()
- virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); }
+ virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&, bool dataLoss) { ASSERT_NOT_REACHED(); }
virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); }
};

Powered by Google App Engine
This is Rietveld 408576698