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

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: 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_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..434a314f70b0e13bfa6879948570cebc5a2e5a06 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -20,6 +20,7 @@
#include "content/common/indexed_db/indexed_db_key.h"
#include "content/common/indexed_db/indexed_db_key_path.h"
#include "content/common/indexed_db/indexed_db_key_range.h"
+#include "third_party/WebKit/public/platform/WebIDBCallbacks.h"
namespace content {
@@ -44,11 +45,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,
+ WebKit::WebIDBCallbacks::DataLoss* data_loss);
static scoped_refptr<IndexedDBBackingStore> Open(
const string16& database_identifier,
const base::FilePath& path_base,
const string16& file_identifier,
+ WebKit::WebIDBCallbacks::DataLoss* data_loss,
LevelDBFactory* factory);
static scoped_refptr<IndexedDBBackingStore> OpenInMemory(
const string16& identifier);

Powered by Google App Engine
This is Rietveld 408576698