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

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

Issue 2684493002: MD History: Delete Grouped History (Closed)
Patch Set: Rebase Created 3 years, 10 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/md_history_ui.cc
diff --git a/chrome/browser/ui/webui/md_history_ui.cc b/chrome/browser/ui/webui/md_history_ui.cc
index 4b5a5772cf34370f14eb9c01227654d79c2119b0..72be2756d779cbe41a316908feb477836cb62c35 100644
--- a/chrome/browser/ui/webui/md_history_ui.cc
+++ b/chrome/browser/ui/webui/md_history_ui.cc
@@ -132,11 +132,6 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile,
source->AddBoolean("allowDeletingHistory", allow_deleting_history);
source->AddBoolean(kShowMenuPromoKey, !MenuPromoShown(profile));
-
- bool group_by_domain = base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kHistoryEnableGroupByDomain) || profile->IsSupervised();
- source->AddBoolean("groupByDomain", group_by_domain);
-
source->AddBoolean("isGuestSession", profile->IsGuestSession());
source->AddBoolean(kIsUserSignedInKey, IsUserSignedIn(profile));
@@ -158,8 +153,6 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile,
{"app.js", IDR_MD_HISTORY_APP_JS},
{"browser_service.html", IDR_MD_HISTORY_BROWSER_SERVICE_HTML},
{"browser_service.js", IDR_MD_HISTORY_BROWSER_SERVICE_JS},
- {"grouped_list.html", IDR_MD_HISTORY_GROUPED_LIST_HTML},
- {"grouped_list.js", IDR_MD_HISTORY_GROUPED_LIST_JS},
{"history_item.html", IDR_MD_HISTORY_HISTORY_ITEM_HTML},
{"history_item.js", IDR_MD_HISTORY_HISTORY_ITEM_JS},
{"history_list.html", IDR_MD_HISTORY_HISTORY_LIST_HTML},
« no previous file with comments | « chrome/browser/ui/webui/browsing_history_handler.cc ('k') | chrome/test/data/webui/md_history/history_grouped_list_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698