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

Unified Diff: webkit/browser/fileapi/native_file_util.h

Issue 15371005: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/browser/fileapi/local_file_util_unittest.cc ('k') | webkit/browser/fileapi/native_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/native_file_util.h
diff --git a/webkit/fileapi/native_file_util.h b/webkit/browser/fileapi/native_file_util.h
similarity index 87%
rename from webkit/fileapi/native_file_util.h
rename to webkit/browser/fileapi/native_file_util.h
index e54ededaf4efd39dc8f80c040b50164b4498c70e..0049526ce4d120bafaf21153b9a917a41cdc443f 100644
--- a/webkit/fileapi/native_file_util.h
+++ b/webkit/browser/fileapi/native_file_util.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FILEAPI_NATIVE_FILE_UTIL_H_
-#define WEBKIT_FILEAPI_NATIVE_FILE_UTIL_H_
+#ifndef WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
+#define WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
#include "base/files/file_path.h"
#include "base/files/file_util_proxy.h"
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
-#include "webkit/fileapi/file_system_file_util.h"
+#include "webkit/browser/fileapi/file_system_file_util.h"
#include "webkit/storage/webkit_storage_export.h"
namespace base {
@@ -23,7 +23,8 @@ namespace fileapi {
// in addition to perform native filesystem operations.
//
// For the error checks it performs please see the comment for
-// FileSystemFileUtil interface (webkit/fileapi/file_system_file_util.h).
+// FileSystemFileUtil interface
+// (webkit/browser/fileapi/file_system_file_util.h).
//
// Note that all the methods of this class are static and this does NOT
// inherit from FileSystemFileUtil.
@@ -48,7 +49,8 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE NativeFileUtil {
static base::PlatformFileError Touch(const base::FilePath& path,
const base::Time& last_access_time,
const base::Time& last_modified_time);
- static base::PlatformFileError Truncate(const base::FilePath& path, int64 length);
+ static base::PlatformFileError Truncate(const base::FilePath& path,
+ int64 length);
static bool PathExists(const base::FilePath& path);
static bool DirectoryExists(const base::FilePath& path);
static base::PlatformFileError CopyOrMoveFile(const base::FilePath& src_path,
@@ -63,4 +65,4 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE NativeFileUtil {
} // namespace fileapi
-#endif // WEBKIT_FILEAPI_NATIVE_FILE_UTIL_H_
+#endif // WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
« no previous file with comments | « webkit/browser/fileapi/local_file_util_unittest.cc ('k') | webkit/browser/fileapi/native_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698