| Index: chrome/browser/download/download_file_manager.cc
|
| diff --git a/chrome/browser/download/download_file_manager.cc b/chrome/browser/download/download_file_manager.cc
|
| index 7915d4be9137419930b4305163f695976b3a9f74..1ee73f491476798c038ec41f95fbf5de08d90100 100644
|
| --- a/chrome/browser/download/download_file_manager.cc
|
| +++ b/chrome/browser/download/download_file_manager.cc
|
| @@ -35,8 +35,7 @@ const int kUpdatePeriodMs = 500;
|
| } // namespace
|
|
|
| DownloadFileManager::DownloadFileManager(ResourceDispatcherHost* rdh)
|
| - : next_id_(0),
|
| - resource_dispatcher_host_(rdh) {
|
| + : resource_dispatcher_host_(rdh) {
|
| }
|
|
|
| DownloadFileManager::~DownloadFileManager() {
|
| @@ -121,13 +120,6 @@ void DownloadFileManager::UpdateInProgressDownloads() {
|
| }
|
| }
|
|
|
| -// Called on the IO thread once the ResourceDispatcherHost has decided that a
|
| -// request is a download.
|
| -int DownloadFileManager::GetNextId() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| - return next_id_++;
|
| -}
|
| -
|
| void DownloadFileManager::StartDownload(DownloadCreateInfo* info) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| DCHECK(info);
|
|
|