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 STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ |
6 #define STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ | 6 #define STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/gtest_prod_util.h" | |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/task_runner.h" | 15 #include "base/task_runner.h" |
17 #include "storage/browser/fileapi/file_stream_writer.h" | 16 #include "storage/browser/fileapi/file_stream_writer.h" |
18 #include "storage/browser/storage_browser_export.h" | 17 #include "storage/browser/storage_browser_export.h" |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 class LocalFileStreamWriterTest; | 20 class LocalFileStreamWriterTest; |
22 } | 21 } |
23 | 22 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 scoped_ptr<net::FileStream> stream_impl_; | 91 scoped_ptr<net::FileStream> stream_impl_; |
93 net::CompletionCallback cancel_callback_; | 92 net::CompletionCallback cancel_callback_; |
94 | 93 |
95 base::WeakPtrFactory<LocalFileStreamWriter> weak_factory_; | 94 base::WeakPtrFactory<LocalFileStreamWriter> weak_factory_; |
96 DISALLOW_COPY_AND_ASSIGN(LocalFileStreamWriter); | 95 DISALLOW_COPY_AND_ASSIGN(LocalFileStreamWriter); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace storage | 98 } // namespace storage |
100 | 99 |
101 #endif // STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ | 100 #endif // STORAGE_BROWSER_FILEAPI_LOCAL_FILE_STREAM_WRITER_H_ |
OLD | NEW |