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

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

Issue 2109273002: IndexedDB: Created IndexedDBDataLossInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initializing data loss in IndexedDBBackingStore::Open Created 4 years, 5 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_factory.h
diff --git a/content/browser/indexed_db/indexed_db_factory.h b/content/browser/indexed_db/indexed_db_factory.h
index 1ac6625ee683f2d6ef19f84cc6c282363ce437da..3b64fb235c01e0d204343bbe2d1e2cb7e0456a04 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -31,6 +31,7 @@ namespace content {
class IndexedDBBackingStore;
struct IndexedDBPendingConnection;
+struct IndexedDBDataLossInfo;
class CONTENT_EXPORT IndexedDBFactory
: NON_EXPORTED_BASE(public base::RefCountedThreadSafe<IndexedDBFactory>) {
@@ -91,8 +92,7 @@ class CONTENT_EXPORT IndexedDBFactory
const url::Origin& origin,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
- blink::WebIDBDataLoss* data_loss,
- std::string* data_loss_reason,
+ IndexedDBDataLossInfo* data_loss_info,
bool* disk_full,
leveldb::Status* status) = 0;
@@ -100,8 +100,7 @@ class CONTENT_EXPORT IndexedDBFactory
const url::Origin& origin,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
- blink::WebIDBDataLoss* data_loss,
- std::string* data_loss_message,
+ IndexedDBDataLossInfo* data_loss_info,
bool* disk_full,
bool first_time,
leveldb::Status* status) = 0;
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698