Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: storage/browser/fileapi/sandbox_file_stream_writer.h

Issue 2552723003: storage: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_
6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ 6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/files/file.h" 12 #include "base/files/file.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "storage/browser/blob/shareable_file_reference.h" 15 #include "storage/browser/blob/shareable_file_reference.h"
16 #include "storage/browser/fileapi/file_stream_writer.h" 16 #include "storage/browser/fileapi/file_stream_writer.h"
17 #include "storage/browser/fileapi/file_system_url.h" 17 #include "storage/browser/fileapi/file_system_url.h"
18 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" 18 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
19 #include "storage/browser/storage_browser_export.h" 19 #include "storage/browser/storage_browser_export.h"
20 #include "storage/common/fileapi/file_system_types.h" 20 #include "storage/common/fileapi/file_system_types.h"
21 #include "storage/common/quota/quota_types.h" 21 #include "storage/common/quota/quota_types.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
24 namespace storage { 24 namespace storage {
25 25
26 class FileSystemContext; 26 class FileSystemContext;
27 class FileSystemQuotaUtil;
28 class FileStreamWriter; 27 class FileStreamWriter;
29 28
30 class STORAGE_EXPORT SandboxFileStreamWriter 29 class STORAGE_EXPORT SandboxFileStreamWriter
31 : public NON_EXPORTED_BASE(FileStreamWriter) { 30 : public NON_EXPORTED_BASE(FileStreamWriter) {
32 public: 31 public:
33 SandboxFileStreamWriter(FileSystemContext* file_system_context, 32 SandboxFileStreamWriter(FileSystemContext* file_system_context,
34 const FileSystemURL& url, 33 const FileSystemURL& url,
35 int64_t initial_offset, 34 int64_t initial_offset,
36 const UpdateObserverList& observers); 35 const UpdateObserverList& observers);
37 ~SandboxFileStreamWriter() override; 36 ~SandboxFileStreamWriter() override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 int64_t default_quota_; 89 int64_t default_quota_;
91 90
92 base::WeakPtrFactory<SandboxFileStreamWriter> weak_factory_; 91 base::WeakPtrFactory<SandboxFileStreamWriter> weak_factory_;
93 92
94 DISALLOW_COPY_AND_ASSIGN(SandboxFileStreamWriter); 93 DISALLOW_COPY_AND_ASSIGN(SandboxFileStreamWriter);
95 }; 94 };
96 95
97 } // namespace storage 96 } // namespace storage
98 97
99 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_ 98 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_STREAM_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698