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

Side by Side Diff: content/browser/download/download_file_factory.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
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.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) 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_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace crypto {
18 class SecureHash;
19 }
20
21 namespace net { 17 namespace net {
22 class NetLogWithSource; 18 class NetLogWithSource;
23 } 19 }
24 20
25 namespace content { 21 namespace content {
26 22
27 class ByteStreamReader; 23 class ByteStreamReader;
28 class DownloadDestinationObserver; 24 class DownloadDestinationObserver;
29 class DownloadFile; 25 class DownloadFile;
30 class DownloadManager;
31 struct DownloadSaveInfo; 26 struct DownloadSaveInfo;
32 27
33 class CONTENT_EXPORT DownloadFileFactory { 28 class CONTENT_EXPORT DownloadFileFactory {
34 public: 29 public:
35 virtual ~DownloadFileFactory(); 30 virtual ~DownloadFileFactory();
36 31
37 virtual DownloadFile* CreateFile( 32 virtual DownloadFile* CreateFile(
38 std::unique_ptr<DownloadSaveInfo> save_info, 33 std::unique_ptr<DownloadSaveInfo> save_info,
39 const base::FilePath& default_downloads_directory, 34 const base::FilePath& default_downloads_directory,
40 std::unique_ptr<ByteStreamReader> byte_stream, 35 std::unique_ptr<ByteStreamReader> byte_stream,
41 const net::NetLogWithSource& net_log, 36 const net::NetLogWithSource& net_log,
42 base::WeakPtr<DownloadDestinationObserver> observer); 37 base::WeakPtr<DownloadDestinationObserver> observer);
43 }; 38 };
44 39
45 } // namespace content 40 } // namespace content
46 41
47 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ 42 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698