OLD | NEW |
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 WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ | 5 #ifndef WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ |
6 #define WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ | 6 #define WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ |
7 | 7 |
8 #include <stack> | 8 #include <stack> |
9 | 9 |
10 #include "webkit/fileapi/recursive_operation_delegate.h" | 10 #include "webkit/browser/fileapi/recursive_operation_delegate.h" |
11 | 11 |
12 namespace fileapi { | 12 namespace fileapi { |
13 | 13 |
14 class RemoveOperationDelegate | 14 class RemoveOperationDelegate |
15 : public RecursiveOperationDelegate, | 15 : public RecursiveOperationDelegate, |
16 public base::SupportsWeakPtr<RemoveOperationDelegate> { | 16 public base::SupportsWeakPtr<RemoveOperationDelegate> { |
17 public: | 17 public: |
18 RemoveOperationDelegate(FileSystemContext* file_system_context, | 18 RemoveOperationDelegate(FileSystemContext* file_system_context, |
19 LocalFileSystemOperation* operation, | 19 LocalFileSystemOperation* operation, |
20 const FileSystemURL& url, | 20 const FileSystemURL& url, |
(...skipping 20 matching lines...) Expand all Loading... |
41 StatusCallback callback_; | 41 StatusCallback callback_; |
42 | 42 |
43 std::stack<FileSystemURL> to_remove_directories_; | 43 std::stack<FileSystemURL> to_remove_directories_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace fileapi | 48 } // namespace fileapi |
49 | 49 |
50 #endif // WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ | 50 #endif // WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ |
OLD | NEW |