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

Unified Diff: chrome/browser/ui/webui/active_downloads_ui.cc

Issue 9167019: Consolidate icon loading on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/downloads.js ('k') | chrome/browser/ui/webui/downloads_dom_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/active_downloads_ui.cc
diff --git a/chrome/browser/ui/webui/active_downloads_ui.cc b/chrome/browser/ui/webui/active_downloads_ui.cc
index 669a97ca73f72c4b5e995be07026cf8e38251181..d12bd506ca48b9f7cebc9487e7d777a9fa870faf 100644
--- a/chrome/browser/ui/webui/active_downloads_ui.cc
+++ b/chrome/browser/ui/webui/active_downloads_ui.cc
@@ -38,7 +38,7 @@
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
-#include "chrome/browser/ui/webui/fileicon_source_chromeos.h"
+#include "chrome/browser/ui/webui/fileicon_source.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
@@ -181,7 +181,7 @@ ActiveDownloadsHandler::~ActiveDownloadsHandler() {
void ActiveDownloadsHandler::RegisterMessages() {
profile_ = Profile::FromWebUI(web_ui());
- profile_->GetChromeURLDataManager()->AddDataSource(new FileIconSourceCros());
+ profile_->GetChromeURLDataManager()->AddDataSource(new FileIconSource());
web_ui()->RegisterMessageCallback("getDownloads",
base::Bind(&ActiveDownloadsHandler::HandleGetDownloads,
« no previous file with comments | « chrome/browser/resources/downloads.js ('k') | chrome/browser/ui/webui/downloads_dom_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698