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

Side by Side Diff: content/browser/download/download_file_impl.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_FILE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
7 7
8 #include "content/browser/download/download_file.h" 8 #include "content/browser/download/download_file.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/timer/timer.h" 21 #include "base/timer/timer.h"
22 #include "content/browser/byte_stream.h" 22 #include "content/browser/byte_stream.h"
23 #include "content/browser/download/base_file.h" 23 #include "content/browser/download/base_file.h"
24 #include "content/browser/download/rate_estimator.h" 24 #include "content/browser/download/rate_estimator.h"
25 #include "content/public/browser/download_save_info.h" 25 #include "content/public/browser/download_save_info.h"
26 #include "net/log/net_log_with_source.h" 26 #include "net/log/net_log_with_source.h"
27 27
28 namespace content { 28 namespace content {
29 class ByteStreamReader; 29 class ByteStreamReader;
30 class DownloadDestinationObserver; 30 class DownloadDestinationObserver;
31 class DownloadManager;
32 struct DownloadCreateInfo;
33 31
34 class CONTENT_EXPORT DownloadFileImpl : public DownloadFile { 32 class CONTENT_EXPORT DownloadFileImpl : public DownloadFile {
35 public: 33 public:
36 // Takes ownership of the object pointed to by |request_handle|. 34 // Takes ownership of the object pointed to by |request_handle|.
37 // |net_log| will be used for logging the download file's events. 35 // |net_log| will be used for logging the download file's events.
38 // May be constructed on any thread. All methods besides the constructor 36 // May be constructed on any thread. All methods besides the constructor
39 // (including destruction) must occur on the FILE thread. 37 // (including destruction) must occur on the FILE thread.
40 // 38 //
41 // Note that the DownloadFileImpl automatically reads from the passed in 39 // Note that the DownloadFileImpl automatically reads from the passed in
42 // stream, and sends updates and status of those reads to the 40 // stream, and sends updates and status of those reads to the
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 base::WeakPtr<DownloadDestinationObserver> observer_; 143 base::WeakPtr<DownloadDestinationObserver> observer_;
146 144
147 base::WeakPtrFactory<DownloadFileImpl> weak_factory_; 145 base::WeakPtrFactory<DownloadFileImpl> weak_factory_;
148 146
149 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl); 147 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl);
150 }; 148 };
151 149
152 } // namespace content 150 } // namespace content
153 151
154 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ 152 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_file_factory.h ('k') | content/browser/download/download_net_log_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698