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

Side by Side Diff: chrome/browser/download/download_manager.cc

Issue 2826: Move the download code to new directories: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <time.h> 5 #include <time.h>
6 6
7 #include "chrome/browser/download_manager.h" 7 #include "chrome/browser/download/download_manager.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/registry.h" 13 #include "base/registry.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/task.h" 15 #include "base/task.h"
16 #include "base/thread.h" 16 #include "base/thread.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "base/win_util.h" 18 #include "base/win_util.h"
19 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
20 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/download_file.h" 21 #include "chrome/browser/download/download_file.h"
22 #include "chrome/browser/download_util.h" 22 #include "chrome/browser/download/download_util.h"
23 #include "chrome/browser/profile.h" 23 #include "chrome/browser/profile.h"
24 #include "chrome/browser/render_process_host.h" 24 #include "chrome/browser/render_process_host.h"
25 #include "chrome/browser/render_view_host.h" 25 #include "chrome/browser/render_view_host.h"
26 #include "chrome/browser/resource_dispatcher_host.h" 26 #include "chrome/browser/resource_dispatcher_host.h"
27 #include "chrome/browser/tab_util.h" 27 #include "chrome/browser/tab_util.h"
28 #include "chrome/browser/web_contents.h" 28 #include "chrome/browser/web_contents.h"
29 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
30 #include "chrome/common/l10n_util.h" 30 #include "chrome/common/l10n_util.h"
31 #include "chrome/common/notification_service.h" 31 #include "chrome/common/notification_service.h"
32 #include "chrome/common/pref_names.h" 32 #include "chrome/common/pref_names.h"
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 for (std::vector<int64>::iterator it = results->begin(); 1095 for (std::vector<int64>::iterator it = results->begin();
1096 it != results->end(); ++it) { 1096 it != results->end(); ++it) {
1097 DownloadMap::iterator dit = downloads_.find(*it); 1097 DownloadMap::iterator dit = downloads_.find(*it);
1098 if (dit != downloads_.end()) 1098 if (dit != downloads_.end())
1099 searched_downloads.push_back(dit->second); 1099 searched_downloads.push_back(dit->second);
1100 } 1100 }
1101 1101
1102 requestor->SetDownloads(searched_downloads); 1102 requestor->SetDownloads(searched_downloads);
1103 } 1103 }
1104 1104
OLDNEW
« no previous file with comments | « chrome/browser/download/download_manager.h ('k') | chrome/browser/download/download_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698