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

Side by Side Diff: storage/browser/fileapi/obfuscated_file_util.h

Issue 631823003: replace OVERRIDE and FINAL with override and final in storage/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
6 #define STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 6 #define STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 base::SequencedTaskRunner* file_task_runner, 107 base::SequencedTaskRunner* file_task_runner,
108 const GetTypeStringForURLCallback& get_type_string_for_url, 108 const GetTypeStringForURLCallback& get_type_string_for_url,
109 const std::set<std::string>& known_type_strings, 109 const std::set<std::string>& known_type_strings,
110 SandboxFileSystemBackendDelegate* sandbox_delegate); 110 SandboxFileSystemBackendDelegate* sandbox_delegate);
111 virtual ~ObfuscatedFileUtil(); 111 virtual ~ObfuscatedFileUtil();
112 112
113 // FileSystemFileUtil overrides. 113 // FileSystemFileUtil overrides.
114 virtual base::File CreateOrOpen( 114 virtual base::File CreateOrOpen(
115 FileSystemOperationContext* context, 115 FileSystemOperationContext* context,
116 const FileSystemURL& url, 116 const FileSystemURL& url,
117 int file_flags) OVERRIDE; 117 int file_flags) override;
118 virtual base::File::Error EnsureFileExists( 118 virtual base::File::Error EnsureFileExists(
119 FileSystemOperationContext* context, 119 FileSystemOperationContext* context,
120 const FileSystemURL& url, bool* created) OVERRIDE; 120 const FileSystemURL& url, bool* created) override;
121 virtual base::File::Error CreateDirectory( 121 virtual base::File::Error CreateDirectory(
122 FileSystemOperationContext* context, 122 FileSystemOperationContext* context,
123 const FileSystemURL& url, 123 const FileSystemURL& url,
124 bool exclusive, 124 bool exclusive,
125 bool recursive) OVERRIDE; 125 bool recursive) override;
126 virtual base::File::Error GetFileInfo( 126 virtual base::File::Error GetFileInfo(
127 FileSystemOperationContext* context, 127 FileSystemOperationContext* context,
128 const FileSystemURL& url, 128 const FileSystemURL& url,
129 base::File::Info* file_info, 129 base::File::Info* file_info,
130 base::FilePath* platform_file) OVERRIDE; 130 base::FilePath* platform_file) override;
131 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( 131 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator(
132 FileSystemOperationContext* context, 132 FileSystemOperationContext* context,
133 const FileSystemURL& root_url) OVERRIDE; 133 const FileSystemURL& root_url) override;
134 virtual base::File::Error GetLocalFilePath( 134 virtual base::File::Error GetLocalFilePath(
135 FileSystemOperationContext* context, 135 FileSystemOperationContext* context,
136 const FileSystemURL& file_system_url, 136 const FileSystemURL& file_system_url,
137 base::FilePath* local_path) OVERRIDE; 137 base::FilePath* local_path) override;
138 virtual base::File::Error Touch( 138 virtual base::File::Error Touch(
139 FileSystemOperationContext* context, 139 FileSystemOperationContext* context,
140 const FileSystemURL& url, 140 const FileSystemURL& url,
141 const base::Time& last_access_time, 141 const base::Time& last_access_time,
142 const base::Time& last_modified_time) OVERRIDE; 142 const base::Time& last_modified_time) override;
143 virtual base::File::Error Truncate( 143 virtual base::File::Error Truncate(
144 FileSystemOperationContext* context, 144 FileSystemOperationContext* context,
145 const FileSystemURL& url, 145 const FileSystemURL& url,
146 int64 length) OVERRIDE; 146 int64 length) override;
147 virtual base::File::Error CopyOrMoveFile( 147 virtual base::File::Error CopyOrMoveFile(
148 FileSystemOperationContext* context, 148 FileSystemOperationContext* context,
149 const FileSystemURL& src_url, 149 const FileSystemURL& src_url,
150 const FileSystemURL& dest_url, 150 const FileSystemURL& dest_url,
151 CopyOrMoveOption option, 151 CopyOrMoveOption option,
152 bool copy) OVERRIDE; 152 bool copy) override;
153 virtual base::File::Error CopyInForeignFile( 153 virtual base::File::Error CopyInForeignFile(
154 FileSystemOperationContext* context, 154 FileSystemOperationContext* context,
155 const base::FilePath& src_file_path, 155 const base::FilePath& src_file_path,
156 const FileSystemURL& dest_url) OVERRIDE; 156 const FileSystemURL& dest_url) override;
157 virtual base::File::Error DeleteFile( 157 virtual base::File::Error DeleteFile(
158 FileSystemOperationContext* context, 158 FileSystemOperationContext* context,
159 const FileSystemURL& url) OVERRIDE; 159 const FileSystemURL& url) override;
160 virtual base::File::Error DeleteDirectory( 160 virtual base::File::Error DeleteDirectory(
161 FileSystemOperationContext* context, 161 FileSystemOperationContext* context,
162 const FileSystemURL& url) OVERRIDE; 162 const FileSystemURL& url) override;
163 virtual storage::ScopedFile CreateSnapshotFile( 163 virtual storage::ScopedFile CreateSnapshotFile(
164 FileSystemOperationContext* context, 164 FileSystemOperationContext* context,
165 const FileSystemURL& url, 165 const FileSystemURL& url,
166 base::File::Error* error, 166 base::File::Error* error,
167 base::File::Info* file_info, 167 base::File::Info* file_info,
168 base::FilePath* platform_path) OVERRIDE; 168 base::FilePath* platform_path) override;
169 169
170 // Same as the other CreateFileEnumerator, but with recursive support. 170 // Same as the other CreateFileEnumerator, but with recursive support.
171 scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( 171 scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator(
172 FileSystemOperationContext* context, 172 FileSystemOperationContext* context,
173 const FileSystemURL& root_url, 173 const FileSystemURL& root_url,
174 bool recursive); 174 bool recursive);
175 175
176 // Returns true if the directory |url| is empty. 176 // Returns true if the directory |url| is empty.
177 bool IsDirectoryEmpty( 177 bool IsDirectoryEmpty(
178 FileSystemOperationContext* context, 178 FileSystemOperationContext* context,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 350
351 // Not owned. 351 // Not owned.
352 SandboxFileSystemBackendDelegate* sandbox_delegate_; 352 SandboxFileSystemBackendDelegate* sandbox_delegate_;
353 353
354 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); 354 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
355 }; 355 };
356 356
357 } // namespace storage 357 } // namespace storage
358 358
359 #endif // STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 359 #endif // STORAGE_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/native_file_util.cc ('k') | storage/browser/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698