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

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

Issue 565073002: [Blink-FileAPI] Add the notification of update observer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_REMOVE_OPERATION_DELEGATE_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
6 #define STORAGE_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ 6 #define STORAGE_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
7 7
8 #include <stack> 8 #include <stack>
9 9
10 #include "storage/browser/fileapi/recursive_operation_delegate.h" 10 #include "storage/browser/fileapi/recursive_operation_delegate.h"
(...skipping 14 matching lines...) Expand all
25 const StatusCallback& callback) OVERRIDE; 25 const StatusCallback& callback) OVERRIDE;
26 virtual void ProcessDirectory(const FileSystemURL& url, 26 virtual void ProcessDirectory(const FileSystemURL& url,
27 const StatusCallback& callback) OVERRIDE; 27 const StatusCallback& callback) OVERRIDE;
28 virtual void PostProcessDirectory(const FileSystemURL& url, 28 virtual void PostProcessDirectory(const FileSystemURL& url,
29 const StatusCallback& callback) OVERRIDE; 29 const StatusCallback& callback) OVERRIDE;
30 30
31 private: 31 private:
32 void DidTryRemoveFile(base::File::Error error); 32 void DidTryRemoveFile(base::File::Error error);
33 void DidTryRemoveDirectory(base::File::Error remove_file_error, 33 void DidTryRemoveDirectory(base::File::Error remove_file_error,
34 base::File::Error remove_directory_error); 34 base::File::Error remove_directory_error);
35 void DidRemoveFile(const StatusCallback& callback, 35 void DidRemoveFile(const FileSystemURL& url,
36 const StatusCallback& callback,
36 base::File::Error error); 37 base::File::Error error);
38 void NotifyOnStartUpdate(const FileSystemURL& url);
39 void NotifyOnEndUpdate(const FileSystemURL& url);
37 40
38 FileSystemURL url_; 41 FileSystemURL url_;
39 StatusCallback callback_; 42 StatusCallback callback_;
40 base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_; 43 base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_;
41 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate); 44 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate);
42 }; 45 };
43 46
44 } // namespace storage 47 } // namespace storage
45 48
46 #endif // STORAGE_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ 49 #endif // STORAGE_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698