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

Unified Diff: content/browser/indexed_db/indexed_db_callbacks_wrapper.h

Issue 17033004: Tell IDB frontend about data loss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT 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/browser/indexed_db/indexed_db_callbacks_wrapper.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks_wrapper.h b/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
index 73edc1ac97741a67eabc72bf7193ee947fd101a8..33b50cf42aa425c3e00f6fde03f2a54e09a7f29e 100644
--- a/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
+++ b/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
@@ -15,6 +15,7 @@
#include "content/browser/indexed_db/indexed_db_database_error.h"
#include "content/common/indexed_db/indexed_db_key.h"
#include "content/common/indexed_db/indexed_db_key_path.h"
+#include "third_party/WebKit/public/platform/WebIDBCallbacks.h"
namespace content {
class IndexedDBCallbacksBase;
@@ -74,7 +75,8 @@ class CONTENT_EXPORT IndexedDBCallbacksWrapper
virtual void OnUpgradeNeeded(
int64 old_version,
scoped_refptr<IndexedDBDatabase> db,
- const content::IndexedDBDatabaseMetadata& metadata);
+ const content::IndexedDBDatabaseMetadata& metadata,
+ WebKit::WebIDBCallbacks::DataLoss data_loss);
virtual void OnSuccess(scoped_refptr<IndexedDBDatabase> db,
const content::IndexedDBDatabaseMetadata& metadata);
virtual void SetDatabaseCallbacks(

Powered by Google App Engine
This is Rietveld 408576698