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

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

Issue 2689373003: Introduce ParallelDownloadJob. (Closed)
Patch Set: Make windows compiler happy. 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 DownloadJob;
16 class DownloadRequestHandleInterface;
17
18 // Factory class to create different kinds of DownloadJob.
19 class DownloadJobFactory {
20 public:
21 static std::unique_ptr<DownloadJob> CreateJob(
22 std::unique_ptr<DownloadRequestHandleInterface> req_handle,
23 const DownloadCreateInfo& create_info);
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_JOB_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698