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

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

Issue 599653003: Remove old template html boilerplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bydefault
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/history_ui.cc
diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
index f65ddc257150cdca1e6f5af435afd9580ca4ccc5..36c31c4fd4fdfb1b37490975e19881f3894d0f84 100644
--- a/chrome/browser/ui/webui/history_ui.cc
+++ b/chrome/browser/ui/webui/history_ui.cc
@@ -187,7 +187,6 @@ content::WebUIDataSource* CreateHistoryUIHTMLSource(Profile* profile) {
source->AddResourcePath(kHistoryJsFile, IDR_HISTORY_JS);
source->AddResourcePath(kOtherDevicesJsFile, IDR_OTHER_DEVICES_JS);
source->SetDefaultResource(IDR_HISTORY_HTML);
- source->SetUseJsonJSFormatV2();
source->DisableDenyXFrameOptions();
source->AddBoolean("isSupervisedProfile", profile->IsSupervised());
source->AddBoolean("showDeleteVisitUI", !profile->IsSupervised());

Powered by Google App Engine
This is Rietveld 408576698