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

Unified Diff: Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp

Issue 17060008: Add dataLoss property to IDB's upgradeneeded event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix last usages of the bool 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/WebKit/chromium/src/WebIDBCallbacksImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp b/Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp
index a420c7866f84cb6c68228100d92aa4c3d0013e94..d03216aa9d44a59f90e4bf89925e8583edc597e2 100644
--- a/Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp
+++ b/Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp
@@ -114,10 +114,10 @@ void WebIDBCallbacksImpl::onBlocked(long long oldVersion)
m_callbacks->onBlocked(oldVersion);
}
-void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion, WebIDBDatabase* database, const WebIDBMetadata& metadata)
+void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion, WebIDBDatabase* database, const WebIDBMetadata& metadata, DataLoss dataLoss)
{
m_databaseProxy = IDBDatabaseBackendProxy::create(adoptPtr(database));
- m_callbacks->onUpgradeNeeded(oldVersion, m_databaseProxy, metadata);
+ m_callbacks->onUpgradeNeeded(oldVersion, m_databaseProxy, metadata, dataLoss);
}
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698