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

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: Add blink API stub for compatibility with and without chromium changes 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
« no previous file with comments | « Source/WebKit/chromium/tests/IDBRequestTest.cpp ('k') | Source/modules/indexeddb/IDBOpenDBRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBCallbacks.h
diff --git a/Source/modules/indexeddb/IDBCallbacks.h b/Source/modules/indexeddb/IDBCallbacks.h
index caf2fdc0b77ce8520ac9654d00ddea3263bc27c9..df2dc9996c6bf02c06bc878d3a48cd4b8952449e 100644
--- a/Source/modules/indexeddb/IDBCallbacks.h
+++ b/Source/modules/indexeddb/IDBCallbacks.h
@@ -34,6 +34,7 @@
#include "modules/indexeddb/IDBDatabaseError.h"
#include "modules/indexeddb/IDBKey.h"
#include "modules/indexeddb/IDBKeyPath.h"
+#include "public/platform/WebIDBCallbacks.h"
#include "wtf/RefCounted.h"
namespace WebCore {
@@ -65,7 +66,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&, WebKit::WebIDBCallbacks::DataLoss dataLoss) { ASSERT_NOT_REACHED(); }
virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); }
};
« no previous file with comments | « Source/WebKit/chromium/tests/IDBRequestTest.cpp ('k') | Source/modules/indexeddb/IDBOpenDBRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698