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_IMPL_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "webkit/browser/fileapi/file_system_operation.h" | 13 #include "storage/browser/fileapi/file_system_operation.h" |
14 #include "webkit/browser/fileapi/file_system_operation_context.h" | 14 #include "storage/browser/fileapi/file_system_operation_context.h" |
15 #include "webkit/browser/fileapi/file_system_url.h" | 15 #include "storage/browser/fileapi/file_system_url.h" |
16 #include "webkit/browser/fileapi/file_writer_delegate.h" | 16 #include "storage/browser/fileapi/file_writer_delegate.h" |
17 #include "webkit/browser/storage_browser_export.h" | 17 #include "storage/browser/storage_browser_export.h" |
18 #include "webkit/common/blob/scoped_file.h" | 18 #include "storage/common/blob/scoped_file.h" |
19 #include "webkit/common/quota/quota_types.h" | 19 #include "storage/common/quota/quota_types.h" |
20 | 20 |
21 namespace storage { | 21 namespace storage { |
22 | 22 |
23 class AsyncFileUtil; | 23 class AsyncFileUtil; |
24 class FileSystemContext; | 24 class FileSystemContext; |
25 class RecursiveOperationDelegate; | 25 class RecursiveOperationDelegate; |
26 | 26 |
27 // The default implementation of FileSystemOperation for file systems. | 27 // The default implementation of FileSystemOperation for file systems. |
28 class STORAGE_EXPORT FileSystemOperationImpl | 28 class STORAGE_EXPORT FileSystemOperationImpl |
29 : public NON_EXPORTED_BASE(FileSystemOperation) { | 29 : public NON_EXPORTED_BASE(FileSystemOperation) { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // A flag to make sure we call operation only once per instance. | 196 // A flag to make sure we call operation only once per instance. |
197 OperationType pending_operation_; | 197 OperationType pending_operation_; |
198 | 198 |
199 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; | 199 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; |
200 | 200 |
201 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); | 201 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); |
202 }; | 202 }; |
203 | 203 |
204 } // namespace storage | 204 } // namespace storage |
205 | 205 |
206 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 206 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
OLD | NEW |