OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 #include "content/browser/download/download_job.h" | 5 #include "content/browser/download/download_job.h" |
6 | 6 |
7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
8 #include "content/browser/download/download_file.h" | 8 #include "content/browser/download/download_file.h" |
9 #include "content/browser/download/download_item_impl.h" | 9 #include "content/browser/download/download_item_impl.h" |
10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 BrowserThread::FILE, FROM_HERE, | 59 BrowserThread::FILE, FROM_HERE, |
60 base::Bind(&DownloadFile::SetPotentialFileLength, | 60 base::Bind(&DownloadFile::SetPotentialFileLength, |
61 base::Unretained(download_file), length)); | 61 base::Unretained(download_file), length)); |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 bool DownloadJob::UsesParallelRequests() const { | 65 bool DownloadJob::UsesParallelRequests() const { |
66 return false; | 66 return false; |
67 } | 67 } |
68 | 68 |
| 69 bool DownloadJob::IsParallelizable() const { |
| 70 return false; |
| 71 } |
| 72 |
69 } // namespace content | 73 } // namespace content |
OLD | NEW |