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

Unified Diff: content/browser/in_process_webkit/indexed_db_callbacks.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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/indexed_db_callbacks.h
diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.h b/content/browser/in_process_webkit/indexed_db_callbacks.h
index a9f266a804e2bf671cf689f80a4438be7a62775a..448d7d148d43641ccf2cfc636cb43d179821a37c 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.h
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
#include "googleurl/src/gurl.h"
+#include "third_party/WebKit/public/platform/WebIDBCallbacks.h"
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
#include "third_party/WebKit/public/platform/WebString.h"
@@ -31,7 +32,8 @@ class IndexedDBCallbacksBase {
const IndexedDBDatabaseMetadata& metadata);
virtual void onUpgradeNeeded(long long old_version,
WebIDBDatabaseImpl* database,
- const IndexedDBDatabaseMetadata&);
+ const IndexedDBDatabaseMetadata&,
+ WebKit::WebIDBCallbacks::DataLoss data_loss);
virtual void onSuccess(WebIDBCursorImpl* idb_object,
const IndexedDBKey& key,
const IndexedDBKey& primaryKey,
@@ -89,7 +91,9 @@ class IndexedDBCallbacksDatabase : public IndexedDBCallbacksBase {
const IndexedDBDatabaseMetadata& metadata) OVERRIDE;
virtual void onUpgradeNeeded(long long old_version,
WebIDBDatabaseImpl* database,
- const IndexedDBDatabaseMetadata&) OVERRIDE;
+ const IndexedDBDatabaseMetadata&,
+ WebKit::WebIDBCallbacks::DataLoss data_loss)
+ OVERRIDE;
private:
int64 host_transaction_id_;
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698