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_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
6 #define WEBKIT_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 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "webkit/browser/fileapi/recursive_operation_delegate.h" | 14 #include "storage/browser/fileapi/recursive_operation_delegate.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class DrainableIOBuffer; | 17 class DrainableIOBuffer; |
18 class IOBufferWithSize; | 18 class IOBufferWithSize; |
19 } | 19 } |
20 | 20 |
21 namespace storage { | 21 namespace storage { |
22 class FileStreamReader; | 22 class FileStreamReader; |
23 class ShareableFileReference; | 23 class ShareableFileReference; |
24 } | 24 } |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 StatusCallback callback_; | 152 StatusCallback callback_; |
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 // WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 162 #endif // STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
OLD | NEW |