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

Side by Side Diff: content/browser/download/download_request_core.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 12 matching lines...) Expand all
23 class PowerSaveBlocker; 23 class PowerSaveBlocker;
24 } // namespace device 24 } // namespace device
25 25
26 namespace net { 26 namespace net {
27 class HttpResponseHeaders; 27 class HttpResponseHeaders;
28 class URLRequest; 28 class URLRequest;
29 class URLRequestStatus; 29 class URLRequestStatus;
30 } // namespace net 30 } // namespace net
31 31
32 namespace content { 32 namespace content {
33 class DownloadManagerImpl;
34 class ByteStreamReader; 33 class ByteStreamReader;
35 class ByteStreamWriter; 34 class ByteStreamWriter;
36 struct DownloadCreateInfo; 35 struct DownloadCreateInfo;
37 36
38 // This class encapsulates the core logic for reading data from a URLRequest and 37 // This class encapsulates the core logic for reading data from a URLRequest and
39 // writing it into a ByteStream. It's common to both DownloadResourceHandler and 38 // writing it into a ByteStream. It's common to both DownloadResourceHandler and
40 // UrlDownloader. 39 // UrlDownloader.
41 // 40 //
42 // Created, lives on and dies on the IO thread. 41 // Created, lives on and dies on the IO thread.
43 class CONTENT_EXPORT DownloadRequestCore 42 class CONTENT_EXPORT DownloadRequestCore
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 166
168 // Each successful OnWillRead will yield a buffer of this size. 167 // Each successful OnWillRead will yield a buffer of this size.
169 static const int kReadBufSize = 32768; // bytes 168 static const int kReadBufSize = 32768; // bytes
170 169
171 DISALLOW_COPY_AND_ASSIGN(DownloadRequestCore); 170 DISALLOW_COPY_AND_ASSIGN(DownloadRequestCore);
172 }; 171 };
173 172
174 } // namespace content 173 } // namespace content
175 174
176 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_ 175 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_CORE_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_net_log_parameters.h ('k') | content/browser/download/download_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698