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

Side by Side Diff: webkit/fileapi/obfuscated_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, 11 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/native_file_util.cc ('k') | webkit/fileapi/obfuscated_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_OBFUSCATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector>
11 10
12 #include "base/file_path.h" 11 #include "base/file_path.h"
13 #include "base/file_util_proxy.h" 12 #include "base/file_util_proxy.h"
14 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
15 #include "base/platform_file.h" 14 #include "base/platform_file.h"
16 #include "base/timer.h" 15 #include "base/timer.h"
17 #include "webkit/blob/shareable_file_reference.h" 16 #include "webkit/blob/shareable_file_reference.h"
18 #include "webkit/fileapi/file_system_directory_database.h" 17 #include "webkit/fileapi/file_system_directory_database.h"
19 #include "webkit/fileapi/file_system_file_util.h" 18 #include "webkit/fileapi/file_system_file_util.h"
20 #include "webkit/fileapi/file_system_origin_database.h" 19 #include "webkit/fileapi/file_system_origin_database.h"
21 #include "webkit/fileapi/file_system_types.h" 20 #include "webkit/fileapi/file_system_types.h"
22 #include "webkit/fileapi/file_system_url.h" 21 #include "webkit/fileapi/file_system_url.h"
23 #include "webkit/storage/webkit_storage_export.h" 22 #include "webkit/storage/webkit_storage_export.h"
24 23
25 namespace base { 24 namespace base {
26 struct PlatformFileInfo;
27 class Time; 25 class Time;
28 } 26 }
29 27
30 class GURL; 28 class GURL;
31 29
32 namespace fileapi { 30 namespace fileapi {
33 31
34 class FileSystemOperationContext; 32 class FileSystemOperationContext;
35 33
36 // The overall implementation philosophy of this class is that partial failures 34 // The overall implementation philosophy of this class is that partial failures
(...skipping 23 matching lines...) Expand all
60 explicit ObfuscatedFileUtil(const FilePath& file_system_directory); 58 explicit ObfuscatedFileUtil(const FilePath& file_system_directory);
61 virtual ~ObfuscatedFileUtil(); 59 virtual ~ObfuscatedFileUtil();
62 60
63 // FileSystemFileUtil overrides. 61 // FileSystemFileUtil overrides.
64 virtual base::PlatformFileError CreateOrOpen( 62 virtual base::PlatformFileError CreateOrOpen(
65 FileSystemOperationContext* context, 63 FileSystemOperationContext* context,
66 const FileSystemURL& url, 64 const FileSystemURL& url,
67 int file_flags, 65 int file_flags,
68 base::PlatformFile* file_handle, 66 base::PlatformFile* file_handle,
69 bool* created) OVERRIDE; 67 bool* created) OVERRIDE;
70 virtual PlatformFileError Close( 68 virtual base::PlatformFileError Close(
71 FileSystemOperationContext* context, 69 FileSystemOperationContext* context,
72 PlatformFile file) OVERRIDE; 70 base::PlatformFile file) OVERRIDE;
73 virtual base::PlatformFileError EnsureFileExists( 71 virtual base::PlatformFileError EnsureFileExists(
74 FileSystemOperationContext* context, 72 FileSystemOperationContext* context,
75 const FileSystemURL& url, bool* created) OVERRIDE; 73 const FileSystemURL& url, bool* created) OVERRIDE;
76 virtual base::PlatformFileError CreateDirectory( 74 virtual base::PlatformFileError CreateDirectory(
77 FileSystemOperationContext* context, 75 FileSystemOperationContext* context,
78 const FileSystemURL& url, 76 const FileSystemURL& url,
79 bool exclusive, 77 bool exclusive,
80 bool recursive) OVERRIDE; 78 bool recursive) OVERRIDE;
81 virtual base::PlatformFileError GetFileInfo( 79 virtual base::PlatformFileError GetFileInfo(
82 FileSystemOperationContext* context, 80 FileSystemOperationContext* context,
(...skipping 18 matching lines...) Expand all
101 const FileSystemURL& url, 99 const FileSystemURL& url,
102 int64 length) OVERRIDE; 100 int64 length) OVERRIDE;
103 virtual bool IsDirectoryEmpty( 101 virtual bool IsDirectoryEmpty(
104 FileSystemOperationContext* context, 102 FileSystemOperationContext* context,
105 const FileSystemURL& url) OVERRIDE; 103 const FileSystemURL& url) OVERRIDE;
106 virtual base::PlatformFileError CopyOrMoveFile( 104 virtual base::PlatformFileError CopyOrMoveFile(
107 FileSystemOperationContext* context, 105 FileSystemOperationContext* context,
108 const FileSystemURL& src_url, 106 const FileSystemURL& src_url,
109 const FileSystemURL& dest_url, 107 const FileSystemURL& dest_url,
110 bool copy) OVERRIDE; 108 bool copy) OVERRIDE;
111 virtual PlatformFileError CopyInForeignFile( 109 virtual base::PlatformFileError CopyInForeignFile(
112 FileSystemOperationContext* context, 110 FileSystemOperationContext* context,
113 const FilePath& src_file_path, 111 const FilePath& src_file_path,
114 const FileSystemURL& dest_url) OVERRIDE; 112 const FileSystemURL& dest_url) OVERRIDE;
115 virtual base::PlatformFileError DeleteFile( 113 virtual base::PlatformFileError DeleteFile(
116 FileSystemOperationContext* context, 114 FileSystemOperationContext* context,
117 const FileSystemURL& url) OVERRIDE; 115 const FileSystemURL& url) OVERRIDE;
118 virtual base::PlatformFileError DeleteSingleDirectory( 116 virtual base::PlatformFileError DeleteSingleDirectory(
119 FileSystemOperationContext* context, 117 FileSystemOperationContext* context,
120 const FileSystemURL& url) OVERRIDE; 118 const FileSystemURL& url) OVERRIDE;
121 virtual base::PlatformFileError CreateSnapshotFile( 119 virtual base::PlatformFileError CreateSnapshotFile(
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 scoped_ptr<FileSystemOriginDatabase> origin_database_; 238 scoped_ptr<FileSystemOriginDatabase> origin_database_;
241 FilePath file_system_directory_; 239 FilePath file_system_directory_;
242 base::OneShotTimer<ObfuscatedFileUtil> timer_; 240 base::OneShotTimer<ObfuscatedFileUtil> timer_;
243 241
244 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); 242 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
245 }; 243 };
246 244
247 } // namespace fileapi 245 } // namespace fileapi
248 246
249 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 247 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/native_file_util.cc ('k') | webkit/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698