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

Unified Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 10913015: Reland DownloadManager::GetAllDownloads actually does now (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 7c26b5bc2caeeefb650e9f9119fafbe2f6b5d144..d0c6b848eecacd69df79caf802c8ea55bf85e239 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -1436,7 +1436,7 @@ void AllDownloadsCompleteObserver::ModelChanged(DownloadManager* manager) {
// The set of downloads in the download manager has changed. If there are
// any new downloads that are still in progress, add them to the pending list.
std::vector<DownloadItem*> downloads;
- download_manager_->GetAllDownloads(FilePath(), &downloads);
+ download_manager_->GetAllDownloads(&downloads);
for (std::vector<DownloadItem*>::iterator it = downloads.begin();
it != downloads.end(); ++it) {
if ((*it)->GetState() == DownloadItem::IN_PROGRESS &&

Powered by Google App Engine
This is Rietveld 408576698