OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ | 5 #ifndef NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ |
6 #define NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ | 6 #define NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
14 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
15 | 17 |
16 namespace base { | 18 namespace base { |
17 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool owns_file_; | 135 bool owns_file_; |
134 | 136 |
135 scoped_ptr<FileStream> file_stream_; | 137 scoped_ptr<FileStream> file_stream_; |
136 | 138 |
137 DISALLOW_COPY_AND_ASSIGN(URLFetcherFileWriter); | 139 DISALLOW_COPY_AND_ASSIGN(URLFetcherFileWriter); |
138 }; | 140 }; |
139 | 141 |
140 } // namespace net | 142 } // namespace net |
141 | 143 |
142 #endif // NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ | 144 #endif // NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ |
OLD | NEW |