Index: storage/browser/database/vfs_backend.cc |
diff --git a/webkit/browser/database/vfs_backend.cc b/storage/browser/database/vfs_backend.cc |
similarity index 95% |
rename from webkit/browser/database/vfs_backend.cc |
rename to storage/browser/database/vfs_backend.cc |
index 019e8b96dcb5985e0e7107442a9a6e10d05169aa..8437cd207ee4167165ecc71447004f9c165c7ad3 100644 |
--- a/webkit/browser/database/vfs_backend.cc |
+++ b/storage/browser/database/vfs_backend.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "webkit/browser/database/vfs_backend.h" |
+#include "storage/browser/database/vfs_backend.h" |
#include "base/file_util.h" |
#include "base/files/file_path.h" |
@@ -74,8 +74,8 @@ base::File VfsBackend::OpenFile(const base::FilePath& file_path, |
if (!(desired_flags & SQLITE_OPEN_MAIN_DB)) |
flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; |
- flags |= ((desired_flags & SQLITE_OPEN_CREATE) ? |
- base::File::FLAG_OPEN_ALWAYS : base::File::FLAG_OPEN); |
+ flags |= ((desired_flags & SQLITE_OPEN_CREATE) ? base::File::FLAG_OPEN_ALWAYS |
+ : base::File::FLAG_OPEN); |
if (desired_flags & SQLITE_OPEN_EXCLUSIVE) |
flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; |
@@ -155,4 +155,4 @@ int64 VfsBackend::GetFileSize(const base::FilePath& file_path) { |
return (base::GetFileSize(file_path, &size) ? size : 0); |
} |
-} // namespace webkit_database |
+} // namespace webkit_database |