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

Side by Side Diff: net/url_request/url_fetcher_response_writer.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch 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
« no previous file with comments | « net/url_request/url_fetcher.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
16 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
17 17
18 namespace base { 18 namespace base {
19 class SequencedTaskRunner; 19 class SequencedTaskRunner;
20 } // namespace base 20 } // namespace base
21 21
22 namespace net { 22 namespace net {
23 23
24 class DrainableIOBuffer;
25 class FileStream; 24 class FileStream;
26 class IOBuffer; 25 class IOBuffer;
27 class URLFetcherFileWriter; 26 class URLFetcherFileWriter;
28 class URLFetcherStringWriter; 27 class URLFetcherStringWriter;
29 28
30 // This class encapsulates all state involved in writing URLFetcher response 29 // This class encapsulates all state involved in writing URLFetcher response
31 // bytes to the destination. 30 // bytes to the destination.
32 class NET_EXPORT URLFetcherResponseWriter { 31 class NET_EXPORT URLFetcherResponseWriter {
33 public: 32 public:
34 virtual ~URLFetcherResponseWriter() {} 33 virtual ~URLFetcherResponseWriter() {}
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 136
138 // Callbacks are created for use with base::FileUtilProxy. 137 // Callbacks are created for use with base::FileUtilProxy.
139 base::WeakPtrFactory<URLFetcherFileWriter> weak_factory_; 138 base::WeakPtrFactory<URLFetcherFileWriter> weak_factory_;
140 139
141 DISALLOW_COPY_AND_ASSIGN(URLFetcherFileWriter); 140 DISALLOW_COPY_AND_ASSIGN(URLFetcherFileWriter);
142 }; 141 };
143 142
144 } // namespace net 143 } // namespace net
145 144
146 #endif // NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ 145 #endif // NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698