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

Side by Side Diff: webkit/fileapi/media/device_media_file_util.h

Issue 10855039: Cleanup: Remove FileSystemFileUtil::{Directory,Path}Exists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 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/fileapi/local_file_util.cc ('k') | webkit/fileapi/media/device_media_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_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "webkit/fileapi/fileapi_export.h" 10 #include "webkit/fileapi/fileapi_export.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 FilePath* local_file_path) OVERRIDE; 56 FilePath* local_file_path) OVERRIDE;
57 virtual base::PlatformFileError Touch( 57 virtual base::PlatformFileError Touch(
58 FileSystemOperationContext* context, 58 FileSystemOperationContext* context,
59 const FileSystemURL& url, 59 const FileSystemURL& url,
60 const base::Time& last_access_time, 60 const base::Time& last_access_time,
61 const base::Time& last_modified_time) OVERRIDE; 61 const base::Time& last_modified_time) OVERRIDE;
62 virtual base::PlatformFileError Truncate( 62 virtual base::PlatformFileError Truncate(
63 FileSystemOperationContext* context, 63 FileSystemOperationContext* context,
64 const FileSystemURL& url, 64 const FileSystemURL& url,
65 int64 length) OVERRIDE; 65 int64 length) OVERRIDE;
66 virtual bool PathExists(
67 FileSystemOperationContext* context,
68 const FileSystemURL& url) OVERRIDE;
69 virtual bool DirectoryExists(
70 FileSystemOperationContext* context,
71 const FileSystemURL& url) OVERRIDE;
72 virtual bool IsDirectoryEmpty( 66 virtual bool IsDirectoryEmpty(
73 FileSystemOperationContext* context, 67 FileSystemOperationContext* context,
74 const FileSystemURL& url) OVERRIDE; 68 const FileSystemURL& url) OVERRIDE;
75 virtual base::PlatformFileError CopyOrMoveFile( 69 virtual base::PlatformFileError CopyOrMoveFile(
76 FileSystemOperationContext* context, 70 FileSystemOperationContext* context,
77 const FileSystemURL& src_url, 71 const FileSystemURL& src_url,
78 const FileSystemURL& dest_url, 72 const FileSystemURL& dest_url,
79 bool copy) OVERRIDE; 73 bool copy) OVERRIDE;
80 virtual base::PlatformFileError CopyInForeignFile( 74 virtual base::PlatformFileError CopyInForeignFile(
81 FileSystemOperationContext* context, 75 FileSystemOperationContext* context,
(...skipping 15 matching lines...) Expand all
97 private: 91 private:
98 // Profile path 92 // Profile path
99 const FilePath profile_path_; 93 const FilePath profile_path_;
100 94
101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); 95 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil);
102 }; 96 };
103 97
104 } // namespace fileapi 98 } // namespace fileapi
105 99
106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 100 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_util.cc ('k') | webkit/fileapi/media/device_media_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698