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

Side by Side Diff: webkit/browser/fileapi/native_file_util.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/browser/fileapi/mount_points.cc ('k') | webkit/browser/fileapi/native_file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FILEAPI_NATIVE_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util_proxy.h" 10 #include "base/files/file_util_proxy.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "webkit/browser/fileapi/file_system_file_util.h" 12 #include "webkit/browser/fileapi/file_system_file_util.h"
13 #include "webkit/browser/webkit_storage_browser_export.h" 13 #include "webkit/browser/webkit_storage_browser_export.h"
14 14
15 namespace base { 15 namespace base {
16 class Time; 16 class Time;
17 } 17 }
18 18
19 namespace fileapi { 19 namespace storage {
20 20
21 // A thin wrapper class for accessing the OS native filesystem. 21 // A thin wrapper class for accessing the OS native filesystem.
22 // This performs common error checks necessary to implement FileUtil family 22 // This performs common error checks necessary to implement FileUtil family
23 // in addition to perform native filesystem operations. 23 // in addition to perform native filesystem operations.
24 // 24 //
25 // For the error checks it performs please see the comment for 25 // For the error checks it performs please see the comment for
26 // FileSystemFileUtil interface 26 // FileSystemFileUtil interface
27 // (webkit/browser/fileapi/file_system_file_util.h). 27 // (webkit/browser/fileapi/file_system_file_util.h).
28 // 28 //
29 // Note that all the methods of this class are static and this does NOT 29 // Note that all the methods of this class are static and this does NOT
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const base::FilePath& dest_path, 61 const base::FilePath& dest_path,
62 FileSystemOperation::CopyOrMoveOption option, 62 FileSystemOperation::CopyOrMoveOption option,
63 CopyOrMoveMode mode); 63 CopyOrMoveMode mode);
64 static base::File::Error DeleteFile(const base::FilePath& path); 64 static base::File::Error DeleteFile(const base::FilePath& path);
65 static base::File::Error DeleteDirectory(const base::FilePath& path); 65 static base::File::Error DeleteDirectory(const base::FilePath& path);
66 66
67 private: 67 private:
68 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeFileUtil); 68 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeFileUtil);
69 }; 69 };
70 70
71 } // namespace fileapi 71 } // namespace storage
72 72
73 #endif // WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_ 73 #endif // WEBKIT_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/mount_points.cc ('k') | webkit/browser/fileapi/native_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698