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

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

Issue 17033004: Tell IDB frontend about data loss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: content/browser/indexed_db/indexed_db_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index bc03564f2b95ae37468c28c1e1fd7ed8786b0613..bc5e676f108a03ac925a3d68ef765d76be6c1309 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -67,7 +67,8 @@ class CONTENT_EXPORT IndexedDBDatabase
scoped_refptr<IndexedDBCallbacksWrapper> callbacks,
scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks,
int64 transaction_id,
- int64 version);
+ int64 version,
+ bool data_loss);
void DeleteDatabase(scoped_refptr<IndexedDBCallbacksWrapper> callbacks);
const IndexedDBDatabaseMetadata& metadata() const { return metadata_; }
@@ -164,12 +165,14 @@ class CONTENT_EXPORT IndexedDBDatabase
scoped_refptr<IndexedDBCallbacksWrapper> callbacks,
scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks,
int64 transaction_id,
- int64 requested_version);
+ int64 requested_version,
+ bool data_loss);
void RunVersionChangeTransactionFinal(
scoped_refptr<IndexedDBCallbacksWrapper> callbacks,
scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks,
int64 transaction_id,
- int64 requested_version);
+ int64 requested_version,
+ bool data_loss);
size_t ConnectionCount() const;
void ProcessPendingCalls();

Powered by Google App Engine
This is Rietveld 408576698