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

Side by Side Diff: storage/browser/fileapi/async_file_util_adapter.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_ASYNC_FILE_UTIL_ADAPTER_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
6 #define STORAGE_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ 6 #define STORAGE_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "storage/browser/fileapi/async_file_util.h" 9 #include "storage/browser/fileapi/async_file_util.h"
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 FileSystemFileUtil* sync_file_util() { 36 FileSystemFileUtil* sync_file_util() {
37 return sync_file_util_.get(); 37 return sync_file_util_.get();
38 } 38 }
39 39
40 // AsyncFileUtil overrides. 40 // AsyncFileUtil overrides.
41 virtual void CreateOrOpen( 41 virtual void CreateOrOpen(
42 scoped_ptr<FileSystemOperationContext> context, 42 scoped_ptr<FileSystemOperationContext> context,
43 const FileSystemURL& url, 43 const FileSystemURL& url,
44 int file_flags, 44 int file_flags,
45 const CreateOrOpenCallback& callback) OVERRIDE; 45 const CreateOrOpenCallback& callback) override;
46 virtual void EnsureFileExists( 46 virtual void EnsureFileExists(
47 scoped_ptr<FileSystemOperationContext> context, 47 scoped_ptr<FileSystemOperationContext> context,
48 const FileSystemURL& url, 48 const FileSystemURL& url,
49 const EnsureFileExistsCallback& callback) OVERRIDE; 49 const EnsureFileExistsCallback& callback) override;
50 virtual void CreateDirectory( 50 virtual void CreateDirectory(
51 scoped_ptr<FileSystemOperationContext> context, 51 scoped_ptr<FileSystemOperationContext> context,
52 const FileSystemURL& url, 52 const FileSystemURL& url,
53 bool exclusive, 53 bool exclusive,
54 bool recursive, 54 bool recursive,
55 const StatusCallback& callback) OVERRIDE; 55 const StatusCallback& callback) override;
56 virtual void GetFileInfo( 56 virtual void GetFileInfo(
57 scoped_ptr<FileSystemOperationContext> context, 57 scoped_ptr<FileSystemOperationContext> context,
58 const FileSystemURL& url, 58 const FileSystemURL& url,
59 const GetFileInfoCallback& callback) OVERRIDE; 59 const GetFileInfoCallback& callback) override;
60 virtual void ReadDirectory( 60 virtual void ReadDirectory(
61 scoped_ptr<FileSystemOperationContext> context, 61 scoped_ptr<FileSystemOperationContext> context,
62 const FileSystemURL& url, 62 const FileSystemURL& url,
63 const ReadDirectoryCallback& callback) OVERRIDE; 63 const ReadDirectoryCallback& callback) override;
64 virtual void Touch( 64 virtual void Touch(
65 scoped_ptr<FileSystemOperationContext> context, 65 scoped_ptr<FileSystemOperationContext> context,
66 const FileSystemURL& url, 66 const FileSystemURL& url,
67 const base::Time& last_access_time, 67 const base::Time& last_access_time,
68 const base::Time& last_modified_time, 68 const base::Time& last_modified_time,
69 const StatusCallback& callback) OVERRIDE; 69 const StatusCallback& callback) override;
70 virtual void Truncate( 70 virtual void Truncate(
71 scoped_ptr<FileSystemOperationContext> context, 71 scoped_ptr<FileSystemOperationContext> context,
72 const FileSystemURL& url, 72 const FileSystemURL& url,
73 int64 length, 73 int64 length,
74 const StatusCallback& callback) OVERRIDE; 74 const StatusCallback& callback) override;
75 virtual void CopyFileLocal( 75 virtual void CopyFileLocal(
76 scoped_ptr<FileSystemOperationContext> context, 76 scoped_ptr<FileSystemOperationContext> context,
77 const FileSystemURL& src_url, 77 const FileSystemURL& src_url,
78 const FileSystemURL& dest_url, 78 const FileSystemURL& dest_url,
79 CopyOrMoveOption option, 79 CopyOrMoveOption option,
80 const CopyFileProgressCallback& progress_callback, 80 const CopyFileProgressCallback& progress_callback,
81 const StatusCallback& callback) OVERRIDE; 81 const StatusCallback& callback) override;
82 virtual void MoveFileLocal( 82 virtual void MoveFileLocal(
83 scoped_ptr<FileSystemOperationContext> context, 83 scoped_ptr<FileSystemOperationContext> context,
84 const FileSystemURL& src_url, 84 const FileSystemURL& src_url,
85 const FileSystemURL& dest_url, 85 const FileSystemURL& dest_url,
86 CopyOrMoveOption option, 86 CopyOrMoveOption option,
87 const StatusCallback& callback) OVERRIDE; 87 const StatusCallback& callback) override;
88 virtual void CopyInForeignFile( 88 virtual void CopyInForeignFile(
89 scoped_ptr<FileSystemOperationContext> context, 89 scoped_ptr<FileSystemOperationContext> context,
90 const base::FilePath& src_file_path, 90 const base::FilePath& src_file_path,
91 const FileSystemURL& dest_url, 91 const FileSystemURL& dest_url,
92 const StatusCallback& callback) OVERRIDE; 92 const StatusCallback& callback) override;
93 virtual void DeleteFile( 93 virtual void DeleteFile(
94 scoped_ptr<FileSystemOperationContext> context, 94 scoped_ptr<FileSystemOperationContext> context,
95 const FileSystemURL& url, 95 const FileSystemURL& url,
96 const StatusCallback& callback) OVERRIDE; 96 const StatusCallback& callback) override;
97 virtual void DeleteDirectory( 97 virtual void DeleteDirectory(
98 scoped_ptr<FileSystemOperationContext> context, 98 scoped_ptr<FileSystemOperationContext> context,
99 const FileSystemURL& url, 99 const FileSystemURL& url,
100 const StatusCallback& callback) OVERRIDE; 100 const StatusCallback& callback) override;
101 virtual void DeleteRecursively( 101 virtual void DeleteRecursively(
102 scoped_ptr<FileSystemOperationContext> context, 102 scoped_ptr<FileSystemOperationContext> context,
103 const FileSystemURL& url, 103 const FileSystemURL& url,
104 const StatusCallback& callback) OVERRIDE; 104 const StatusCallback& callback) override;
105 virtual void CreateSnapshotFile( 105 virtual void CreateSnapshotFile(
106 scoped_ptr<FileSystemOperationContext> context, 106 scoped_ptr<FileSystemOperationContext> context,
107 const FileSystemURL& url, 107 const FileSystemURL& url,
108 const CreateSnapshotFileCallback& callback) OVERRIDE; 108 const CreateSnapshotFileCallback& callback) override;
109 109
110 private: 110 private:
111 scoped_ptr<FileSystemFileUtil> sync_file_util_; 111 scoped_ptr<FileSystemFileUtil> sync_file_util_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter); 113 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter);
114 }; 114 };
115 115
116 } // namespace storage 116 } // namespace storage
117 117
118 #endif // STORAGE_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ 118 #endif // STORAGE_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
OLDNEW
« no previous file with comments | « storage/browser/database/database_quota_client.h ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698