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

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

Issue 10950015: Shift "commit point" for when a download will no longer accept cancels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR. Created 8 years, 3 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h"
11 #include "content/common/content_export.h"
12 #include "content/browser/download/download_create_info.h"
13 #include "googleurl/src/gurl.h"
14
15 namespace net {
16 class BoundNetLog;
17 }
18
19 namespace content {
20
21 struct DownloadSaveInfo;
22
23 class ByteStreamReader;
24 class DownloadDestinationObserver;
25 class DownloadFile;
26 class DownloadManager;
27
28 class CONTENT_EXPORT DownloadFileFactory {
29 public:
30 virtual ~DownloadFileFactory();
31
32 virtual content::DownloadFile* CreateFile(
33 DownloadCreateInfo* info,
34 scoped_ptr<content::ByteStreamReader> stream,
35 DownloadManager* download_manager,
36 bool calculate_hash,
37 const net::BoundNetLog& bound_net_log);
38 };
39
40 } // namespace content
41
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_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698