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

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

Issue 2689373003: Introduce ParallelDownloadJob. (Closed)
Patch Set: Polish some details. Created 3 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2017 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_JOB_FACTORY_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_JOB_FACTORY_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "content/browser/download/download_create_info.h"
12
13 namespace content {
14
15 class DownloadItemImpl;
16 class DownloadJob;
17 class DownloadRequestHandleInterface;
18
19 // Factory class to create different kinds of DownloadJob.
20 class DownloadJobFactory {
21 public:
22 static std::unique_ptr<DownloadJob> CreateJob(
23 DownloadItemImpl* download_item,
24 std::unique_ptr<DownloadRequestHandleInterface> req_handle,
25 const DownloadCreateInfo& create_info);
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_JOB_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698