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

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

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Fixed compilation errors in tests Created 3 years, 11 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/mock_indexed_db_factory.h
diff --git a/content/browser/indexed_db/mock_indexed_db_factory.h b/content/browser/indexed_db/mock_indexed_db_factory.h
index c6d734d6174e2e5b9eebc252e9bc060fbd90429e..a94314c5e8a7270e66ccd22293775e24e9f1b050 100644
--- a/content/browser/indexed_db/mock_indexed_db_factory.h
+++ b/content/browser/indexed_db/mock_indexed_db_factory.h
@@ -45,13 +45,14 @@ class MockIndexedDBFactory : public IndexedDBFactory {
OpenProxy(name, connection.get(), request_context_getter, origin,
data_directory);
}
- MOCK_METHOD5(
+ MOCK_METHOD6(
DeleteDatabase,
void(const base::string16& name,
scoped_refptr<net::URLRequestContextGetter> request_context_getter,
scoped_refptr<IndexedDBCallbacks> callbacks,
const url::Origin& origin,
- const base::FilePath& data_directory));
+ const base::FilePath& data_directory,
+ bool force_close));
MOCK_METHOD1(HandleBackingStoreFailure, void(const url::Origin& origin));
MOCK_METHOD2(HandleBackingStoreCorruption,
void(const url::Origin& origin,

Powered by Google App Engine
This is Rietveld 408576698