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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.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_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_backing_store.h b/content/browser/indexed_db/indexed_db_backing_store.h
index fef455f667acf005433eca99e863a184642f0c54..01ad875e37382b545e3470e65043d8a99afbea5e 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -44,11 +44,13 @@ class CONTENT_EXPORT IndexedDBBackingStore
static scoped_refptr<IndexedDBBackingStore> Open(
const string16& database_identifier,
const base::FilePath& path_base,
- const string16& file_identifier);
+ const string16& file_identifier,
+ bool* data_loss);
static scoped_refptr<IndexedDBBackingStore> Open(
const string16& database_identifier,
const base::FilePath& path_base,
const string16& file_identifier,
+ bool* data_loss,
LevelDBFactory* factory);
static scoped_refptr<IndexedDBBackingStore> OpenInMemory(
const string16& identifier);

Powered by Google App Engine
This is Rietveld 408576698