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

Side by Side Diff: storage/browser/fileapi/copy_or_move_operation_delegate.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) 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_COPY_OR_MOVE_OPERATION_DELEGATE_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
6 #define STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ 6 #define STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 FileSystemContext* file_system_context, 94 FileSystemContext* file_system_context,
95 const FileSystemURL& src_root, 95 const FileSystemURL& src_root,
96 const FileSystemURL& dest_root, 96 const FileSystemURL& dest_root,
97 OperationType operation_type, 97 OperationType operation_type,
98 CopyOrMoveOption option, 98 CopyOrMoveOption option,
99 const CopyProgressCallback& progress_callback, 99 const CopyProgressCallback& progress_callback,
100 const StatusCallback& callback); 100 const StatusCallback& callback);
101 virtual ~CopyOrMoveOperationDelegate(); 101 virtual ~CopyOrMoveOperationDelegate();
102 102
103 // RecursiveOperationDelegate overrides: 103 // RecursiveOperationDelegate overrides:
104 virtual void Run() OVERRIDE; 104 virtual void Run() override;
105 virtual void RunRecursively() OVERRIDE; 105 virtual void RunRecursively() override;
106 virtual void ProcessFile(const FileSystemURL& url, 106 virtual void ProcessFile(const FileSystemURL& url,
107 const StatusCallback& callback) OVERRIDE; 107 const StatusCallback& callback) override;
108 virtual void ProcessDirectory(const FileSystemURL& url, 108 virtual void ProcessDirectory(const FileSystemURL& url,
109 const StatusCallback& callback) OVERRIDE; 109 const StatusCallback& callback) override;
110 virtual void PostProcessDirectory(const FileSystemURL& url, 110 virtual void PostProcessDirectory(const FileSystemURL& url,
111 const StatusCallback& callback) OVERRIDE; 111 const StatusCallback& callback) override;
112 112
113 113
114 protected: 114 protected:
115 virtual void OnCancel() OVERRIDE; 115 virtual void OnCancel() override;
116 116
117 private: 117 private:
118 void DidCopyOrMoveFile(const FileSystemURL& src_url, 118 void DidCopyOrMoveFile(const FileSystemURL& src_url,
119 const FileSystemURL& dest_url, 119 const FileSystemURL& dest_url,
120 const StatusCallback& callback, 120 const StatusCallback& callback,
121 CopyOrMoveImpl* impl, 121 CopyOrMoveImpl* impl,
122 base::File::Error error); 122 base::File::Error error);
123 void DidTryRemoveDestRoot(const StatusCallback& callback, 123 void DidTryRemoveDestRoot(const StatusCallback& callback,
124 base::File::Error error); 124 base::File::Error error);
125 void ProcessDirectoryInternal(const FileSystemURL& src_url, 125 void ProcessDirectoryInternal(const FileSystemURL& src_url,
(...skipping 27 matching lines...) Expand all
153 153
154 std::set<CopyOrMoveImpl*> running_copy_set_; 154 std::set<CopyOrMoveImpl*> running_copy_set_;
155 base::WeakPtrFactory<CopyOrMoveOperationDelegate> weak_factory_; 155 base::WeakPtrFactory<CopyOrMoveOperationDelegate> weak_factory_;
156 156
157 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate); 157 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate);
158 }; 158 };
159 159
160 } // namespace storage 160 } // namespace storage
161 161
162 #endif // STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ 162 #endif // STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/async_file_util_adapter.h ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698