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

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

Issue 10202025: fix downloads to use loadTimeData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make upload relative Created 8 years, 8 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/downloads.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/downloads_ui.cc
diff --git a/chrome/browser/ui/webui/downloads_ui.cc b/chrome/browser/ui/webui/downloads_ui.cc
index 53fa447e4dd93e9586235867eb45ae6d198a5714..cefaefc108ea15217d917c18807a7f96d1dff7b2 100644
--- a/chrome/browser/ui/webui/downloads_ui.cc
+++ b/chrome/browser/ui/webui/downloads_ui.cc
@@ -95,7 +95,9 @@ DownloadsUI::DownloadsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
web_ui->AddMessageHandler(handler);
// Set up the chrome://downloads/ source.
- ChromeURLDataManager::AddDataSource(profile, CreateDownloadsUIHTMLSource());
+ ChromeWebUIDataSource* source = CreateDownloadsUIHTMLSource();
+ source->set_use_json_js_format_v2();
Dan Beam 2012/04/27 18:32:39 his needs to be updated to a scoped thinger, now,
Evan Stade 2012/04/28 00:48:03 no
+ ChromeURLDataManager::AddDataSource(profile, source);
}
// static
« no previous file with comments | « chrome/browser/resources/downloads/downloads.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698