OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SANDBOX_FILE_STREAM_WRITER_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ | 6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ |
7 | 7 |
8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "storage/browser/fileapi/file_stream_writer.h" |
| 12 #include "storage/browser/fileapi/file_system_url.h" |
| 13 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" |
| 14 #include "storage/browser/storage_browser_export.h" |
| 15 #include "storage/common/blob/shareable_file_reference.h" |
| 16 #include "storage/common/fileapi/file_system_types.h" |
| 17 #include "storage/common/quota/quota_types.h" |
11 #include "url/gurl.h" | 18 #include "url/gurl.h" |
12 #include "webkit/browser/fileapi/file_stream_writer.h" | |
13 #include "webkit/browser/fileapi/file_system_url.h" | |
14 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" | |
15 #include "webkit/browser/storage_browser_export.h" | |
16 #include "webkit/common/blob/shareable_file_reference.h" | |
17 #include "webkit/common/fileapi/file_system_types.h" | |
18 #include "webkit/common/quota/quota_types.h" | |
19 | 19 |
20 namespace storage { | 20 namespace storage { |
21 | 21 |
22 class FileSystemContext; | 22 class FileSystemContext; |
23 class FileSystemQuotaUtil; | 23 class FileSystemQuotaUtil; |
24 class FileStreamWriter; | 24 class FileStreamWriter; |
25 | 25 |
26 class STORAGE_EXPORT_PRIVATE SandboxFileStreamWriter | 26 class STORAGE_EXPORT_PRIVATE SandboxFileStreamWriter |
27 : public NON_EXPORTED_BASE(FileStreamWriter) { | 27 : public NON_EXPORTED_BASE(FileStreamWriter) { |
28 public: | 28 public: |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 int64 default_quota_; | 87 int64 default_quota_; |
88 | 88 |
89 base::WeakPtrFactory<SandboxFileStreamWriter> weak_factory_; | 89 base::WeakPtrFactory<SandboxFileStreamWriter> weak_factory_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(SandboxFileStreamWriter); | 91 DISALLOW_COPY_AND_ASSIGN(SandboxFileStreamWriter); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace storage | 94 } // namespace storage |
95 | 95 |
96 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ | 96 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ |
OLD | NEW |