| 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 ebb01f3de7004d8a18e08ec63eb326dcdf9cae95..6b71ca3fe503a70b498203ba3ff6b54b462b1a1b 100644
|
| --- a/chrome/browser/ui/webui/downloads_ui.cc
|
| +++ b/chrome/browser/ui/webui/downloads_ui.cc
|
| @@ -81,6 +81,7 @@ content::WebUIDataSource* CreateDownloadsUIHTMLSource(Profile* profile) {
|
| PrefService* prefs = profile->GetPrefs();
|
| source->AddBoolean("allow_deleting_history",
|
| prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory));
|
| + source->AddBoolean("show_delete_history", !profile->IsManaged());
|
|
|
| source->SetJsonPath("strings.js");
|
| source->AddResourcePath("downloads.css", IDR_DOWNLOADS_CSS);
|
|
|