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

Side by Side Diff: content/browser/download/download_manager_impl.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_manager_impl.h" 5 #include "content/browser/download/download_manager_impl.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/debug/alias.h"
11 #include "base/file_util.h" 12 #include "base/file_util.h"
12 #include "base/i18n/case_conversion.h" 13 #include "base/i18n/case_conversion.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
14 #include "base/stl_util.h" 15 #include "base/stl_util.h"
15 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
16 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
17 #include "base/sys_string_conversions.h" 18 #include "base/sys_string_conversions.h"
18 #include "build/build_config.h" 19 #include "build/build_config.h"
19 #include "content/browser/download/download_create_info.h" 20 #include "content/browser/download/download_create_info.h"
20 #include "content/browser/download/download_file_manager.h" 21 #include "content/browser/download/download_file_manager.h"
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 it != history_downloads_.end(); ++it) { 1137 it != history_downloads_.end(); ++it) {
1137 if (it->second->IsComplete() && !it->second->GetOpened()) 1138 if (it->second->IsComplete() && !it->second->GetOpened())
1138 ++num_unopened; 1139 ++num_unopened;
1139 } 1140 }
1140 download_stats::RecordOpensOutstanding(num_unopened); 1141 download_stats::RecordOpensOutstanding(num_unopened);
1141 } 1142 }
1142 1143
1143 void DownloadManagerImpl::SetFileManager(DownloadFileManager* file_manager) { 1144 void DownloadManagerImpl::SetFileManager(DownloadFileManager* file_manager) {
1144 file_manager_ = file_manager; 1145 file_manager_ = file_manager;
1145 } 1146 }
OLDNEW
« no previous file with comments | « content/browser/device_orientation/provider_unittest.cc ('k') | content/browser/download/save_package.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698