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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store_unittest.cc

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_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index f283a21f6d26c98f408a025e2f28b47a00f5ac7c..251f1ad105b79c8653088564f1687ea8d78700f6 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -336,7 +336,9 @@ class MockIDBFactory : public IndexedDBFactory {
scoped_refptr<IndexedDBBackingStore> TestOpenBackingStore(
const WebSecurityOrigin& origin,
const base::FilePath& data_directory) {
- return OpenBackingStore(origin.databaseIdentifier(), data_directory);
+ bool data_loss;
+ return OpenBackingStore(
jsbell 2013/06/14 20:42:58 Add EXPECT_FALSE(data_loss) ?
dgrogan 2013/06/14 22:06:43 Done.
+ origin.databaseIdentifier(), data_directory, &data_loss);
}
private:

Powered by Google App Engine
This is Rietveld 408576698