OLD | NEW |
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 "chrome/browser/ui/webui/active_downloads_ui.h" | 5 #include "chrome/browser/ui/webui/active_downloads_ui.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "chrome/browser/chromeos/cros/cros_library.h" | 24 #include "chrome/browser/chromeos/cros/cros_library.h" |
25 #include "chrome/browser/chromeos/login/user_manager.h" | 25 #include "chrome/browser/chromeos/login/user_manager.h" |
26 #include "chrome/browser/chromeos/media/media_player.h" | 26 #include "chrome/browser/chromeos/media/media_player.h" |
27 #include "chrome/browser/download/download_util.h" | 27 #include "chrome/browser/download/download_util.h" |
28 #include "chrome/browser/profiles/profile.h" | 28 #include "chrome/browser/profiles/profile.h" |
29 #include "chrome/browser/tabs/tab_strip_model.h" | 29 #include "chrome/browser/tabs/tab_strip_model.h" |
30 #include "chrome/browser/ui/browser.h" | 30 #include "chrome/browser/ui/browser.h" |
31 #include "chrome/browser/ui/browser_list.h" | 31 #include "chrome/browser/ui/browser_list.h" |
32 #include "chrome/browser/ui/browser_window.h" | 32 #include "chrome/browser/ui/browser_window.h" |
33 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 33 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
34 #include "chrome/browser/ui/webui/fileicon_source_cros.h" | 34 #include "chrome/browser/ui/webui/fileicon_source_chromeos.h" |
35 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
37 #include "chrome/common/jstemplate_builder.h" | 37 #include "chrome/common/jstemplate_builder.h" |
38 #include "chrome/common/url_constants.h" | 38 #include "chrome/common/url_constants.h" |
39 #include "content/browser/browser_thread.h" | 39 #include "content/browser/browser_thread.h" |
40 #include "content/browser/download/download_item.h" | 40 #include "content/browser/download/download_item.h" |
41 #include "content/browser/download/download_manager.h" | 41 #include "content/browser/download/download_manager.h" |
42 #include "content/browser/tab_contents/tab_contents.h" | 42 #include "content/browser/tab_contents/tab_contents.h" |
43 #include "content/common/url_fetcher.h" | 43 #include "content/common/url_fetcher.h" |
44 #include "grit/browser_resources.h" | 44 #include "grit/browser_resources.h" |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 return (*it); | 430 return (*it); |
431 } | 431 } |
432 } | 432 } |
433 } | 433 } |
434 return NULL; | 434 return NULL; |
435 } | 435 } |
436 | 436 |
437 const ActiveDownloadsUI::DownloadList& ActiveDownloadsUI::GetDownloads() const { | 437 const ActiveDownloadsUI::DownloadList& ActiveDownloadsUI::GetDownloads() const { |
438 return handler_->downloads(); | 438 return handler_->downloads(); |
439 } | 439 } |
OLD | NEW |