| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_BROWSER_DATABASE_VFS_BACKEND_H_ | 5 #ifndef STORAGE_BROWSER_DATABASE_VFS_BACKEND_H_ |
| 6 #define WEBKIT_BROWSER_DATABASE_VFS_BACKEND_H_ | 6 #define STORAGE_BROWSER_DATABASE_VFS_BACKEND_H_ |
| 7 | 7 |
| 8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "webkit/browser/storage_browser_export.h" | 11 #include "storage/browser/storage_browser_export.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class FilePath; | 14 class FilePath; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace storage { | 17 namespace storage { |
| 18 | 18 |
| 19 class STORAGE_EXPORT VfsBackend { | 19 class STORAGE_EXPORT VfsBackend { |
| 20 public: | 20 public: |
| 21 static base::File OpenFile(const base::FilePath& file_path, | 21 static base::File OpenFile(const base::FilePath& file_path, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // Used to make decisions in the DatabaseDispatcherHost. | 33 // Used to make decisions in the DatabaseDispatcherHost. |
| 34 static bool OpenTypeIsReadWrite(int desired_flags); | 34 static bool OpenTypeIsReadWrite(int desired_flags); |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 static bool OpenFileFlagsAreConsistent(int desired_flags); | 37 static bool OpenFileFlagsAreConsistent(int desired_flags); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace storage | 40 } // namespace storage |
| 41 | 41 |
| 42 #endif // WEBKIT_BROWSER_DATABASE_VFS_BACKEND_H_ | 42 #endif // STORAGE_BROWSER_DATABASE_VFS_BACKEND_H_ |
| OLD | NEW |