OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_FILE_SYSTEM_OPERATION_RUNNER_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "webkit/browser/blob/blob_data_handle.h" | 16 #include "storage/browser/blob/blob_data_handle.h" |
17 #include "webkit/browser/fileapi/file_system_operation.h" | 17 #include "storage/browser/fileapi/file_system_operation.h" |
18 #include "webkit/browser/fileapi/file_system_url.h" | 18 #include "storage/browser/fileapi/file_system_url.h" |
19 #include "webkit/browser/storage_browser_export.h" | 19 #include "storage/browser/storage_browser_export.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class URLRequestContext; | 22 class URLRequestContext; |
23 } | 23 } |
24 | 24 |
25 namespace storage { | 25 namespace storage { |
26 | 26 |
27 class FileSystemURL; | 27 class FileSystemURL; |
28 class FileSystemContext; | 28 class FileSystemContext; |
29 | 29 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 std::set<OperationID> finished_operations_; | 312 std::set<OperationID> finished_operations_; |
313 | 313 |
314 // Callbacks for stray cancels whose target operation is already finished. | 314 // Callbacks for stray cancels whose target operation is already finished. |
315 std::map<OperationID, StatusCallback> stray_cancel_callbacks_; | 315 std::map<OperationID, StatusCallback> stray_cancel_callbacks_; |
316 | 316 |
317 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner); | 317 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner); |
318 }; | 318 }; |
319 | 319 |
320 } // namespace storage | 320 } // namespace storage |
321 | 321 |
322 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ | 322 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
OLD | NEW |