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

Unified Diff: storage/browser/database/vfs_backend.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
« no previous file with comments | « storage/browser/database/vfs_backend.h ('k') | storage/browser/fileapi/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « storage/browser/database/vfs_backend.h ('k') | storage/browser/fileapi/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698