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

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 4d32f5850ad430f31b599a81bb717bb92708f149..22b4699d159d8ce5423010e12ce931ff551ad9c2 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);
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_callbacks.cc ('k') | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698