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

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

Issue 624063003: Replacing the OVERRIDE with override and FINAL with final in storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the error 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_FILE_SYSTEM_FILE_UTIL_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_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/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Next(). If Next() has never been called, or if Next() most recently 42 // Next(). If Next() has never been called, or if Next() most recently
43 // returned an empty string, then return the default values of 0, 43 // returned an empty string, then return the default values of 0,
44 // "null time", and false, respectively. 44 // "null time", and false, respectively.
45 virtual int64 Size() = 0; 45 virtual int64 Size() = 0;
46 virtual base::Time LastModifiedTime() = 0; 46 virtual base::Time LastModifiedTime() = 0;
47 virtual bool IsDirectory() = 0; 47 virtual bool IsDirectory() = 0;
48 }; 48 };
49 49
50 class STORAGE_EXPORT EmptyFileEnumerator 50 class STORAGE_EXPORT EmptyFileEnumerator
51 : public AbstractFileEnumerator { 51 : public AbstractFileEnumerator {
52 virtual base::FilePath Next() OVERRIDE; 52 virtual base::FilePath Next() override;
53 virtual int64 Size() OVERRIDE; 53 virtual int64 Size() override;
54 virtual base::Time LastModifiedTime() OVERRIDE; 54 virtual base::Time LastModifiedTime() override;
55 virtual bool IsDirectory() OVERRIDE; 55 virtual bool IsDirectory() override;
56 }; 56 };
57 57
58 virtual ~FileSystemFileUtil() {} 58 virtual ~FileSystemFileUtil() {}
59 59
60 // Creates or opens a file with the given flags. 60 // Creates or opens a file with the given flags.
61 // See header comments for AsyncFileUtil::CreateOrOpen() for more details. 61 // See header comments for AsyncFileUtil::CreateOrOpen() for more details.
62 // This is used only by Pepper/NaCl File API. 62 // This is used only by Pepper/NaCl File API.
63 virtual base::File CreateOrOpen( 63 virtual base::File CreateOrOpen(
64 FileSystemOperationContext* context, 64 FileSystemOperationContext* context,
65 const FileSystemURL& url, 65 const FileSystemURL& url,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 protected: 177 protected:
178 FileSystemFileUtil() {} 178 FileSystemFileUtil() {}
179 179
180 private: 180 private:
181 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil); 181 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil);
182 }; 182 };
183 183
184 } // namespace storage 184 } // namespace storage
185 185
186 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 186 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_file_stream_reader.h ('k') | storage/browser/fileapi/file_system_operation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698