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

Unified Diff: webkit/fileapi/native_file_util.h

Issue 11747020: Cleanup: Remove using statements from webkit/fileapi header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 12 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/fileapi/media/native_media_file_util.cc ('k') | webkit/fileapi/native_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/native_file_util.h
===================================================================
--- webkit/fileapi/native_file_util.h (revision 174833)
+++ webkit/fileapi/native_file_util.h (working copy)
@@ -18,41 +18,38 @@
namespace fileapi {
-using base::PlatformFile;
-using base::PlatformFileError;
-
// TODO(dmikurube): Add unit tests for NativeFileUtil.
// This class handles accessing the OS native filesystem.
class WEBKIT_STORAGE_EXPORT_PRIVATE NativeFileUtil {
public:
- static PlatformFileError CreateOrOpen(
+ static base::PlatformFileError CreateOrOpen(
const FilePath& path,
int file_flags,
- PlatformFile* file_handle,
+ base::PlatformFile* file_handle,
bool* created);
- static PlatformFileError Close(PlatformFile file);
- static PlatformFileError EnsureFileExists(const FilePath& path,
- bool* created);
- static PlatformFileError CreateDirectory(const FilePath& path,
- bool exclusive,
- bool recursive);
- static PlatformFileError GetFileInfo(const FilePath& path,
- base::PlatformFileInfo* file_info);
+ static base::PlatformFileError Close(base::PlatformFile file);
+ static base::PlatformFileError EnsureFileExists(const FilePath& path,
+ bool* created);
+ static base::PlatformFileError CreateDirectory(const FilePath& path,
+ bool exclusive,
+ bool recursive);
+ static base::PlatformFileError GetFileInfo(const FilePath& path,
+ base::PlatformFileInfo* file_info);
static scoped_ptr<FileSystemFileUtil::AbstractFileEnumerator>
CreateFileEnumerator(const FilePath& root_path,
bool recursive);
- static PlatformFileError Touch(const FilePath& path,
- const base::Time& last_access_time,
- const base::Time& last_modified_time);
- static PlatformFileError Truncate(const FilePath& path, int64 length);
+ static base::PlatformFileError Touch(const FilePath& path,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time);
+ static base::PlatformFileError Truncate(const FilePath& path, int64 length);
static bool PathExists(const FilePath& path);
static bool DirectoryExists(const FilePath& path);
static bool IsDirectoryEmpty(const FilePath& path);
- static PlatformFileError CopyOrMoveFile(const FilePath& src_path,
- const FilePath& dest_path,
- bool copy);
- static PlatformFileError DeleteFile(const FilePath& path);
- static PlatformFileError DeleteSingleDirectory(const FilePath& path);
+ static base::PlatformFileError CopyOrMoveFile(const FilePath& src_path,
+ const FilePath& dest_path,
+ bool copy);
+ static base::PlatformFileError DeleteFile(const FilePath& path);
+ static base::PlatformFileError DeleteSingleDirectory(const FilePath& path);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(NativeFileUtil);
« no previous file with comments | « webkit/fileapi/media/native_media_file_util.cc ('k') | webkit/fileapi/native_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698