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

Unified Diff: webkit/fileapi/file_system_directory_database_unittest.cc

Issue 9663021: Add database recovery for FileSystemOriginDatabase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment, remove default label Created 8 years, 9 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: webkit/fileapi/file_system_directory_database_unittest.cc
diff --git a/webkit/fileapi/file_system_directory_database_unittest.cc b/webkit/fileapi/file_system_directory_database_unittest.cc
index 3a47c91c8d0ca286439120e87466bca7cd35964e..b9681c22a26f17aab7b413e7f57ee6fb4b4d4931 100644
--- a/webkit/fileapi/file_system_directory_database_unittest.cc
+++ b/webkit/fileapi/file_system_directory_database_unittest.cc
@@ -30,8 +30,7 @@ class FileSystemDirectoryDatabaseTest : public testing::Test {
void InitDatabase() {
db_.reset();
- FilePath path = base_.path().AppendASCII("db");
- db_.reset(new FileSystemDirectoryDatabase(path));
+ db_.reset(new FileSystemDirectoryDatabase(base_.path()));
ericu 2012/03/26 18:39:18 Remove the extra reset() call.
tzik 2012/03/27 02:44:18 First reset() call is to avoid multiple database i
ericu 2012/03/29 04:22:19 Sure, thanks for the comment.
}
bool AddFileInfo(FileId parent_id, const FilePath::StringType& name) {

Powered by Google App Engine
This is Rietveld 408576698