| 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 af27ce7d05b7a15e22f9af2010095f14c96f352a..2a6d248b6ce086695a66a9e9ed71ba4b1c8805cf 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -190,9 +190,10 @@ content::WebUIDataSource* CreateHistoryUIHTMLSource(Profile* profile) {
|
| source->AddLocalizedString("entrySummary", IDS_HISTORY_ENTRY_SUMMARY);
|
| source->AddBoolean("isFullHistorySyncEnabled",
|
| WebHistoryServiceFactory::GetForProfile(profile) != NULL);
|
| - source->AddBoolean("groupByDomain", profile->IsSupervised() ||
|
| - CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kHistoryEnableGroupByDomain));
|
| + source->AddBoolean("groupByDomain",
|
| + profile->IsSupervised() ||
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kHistoryEnableGroupByDomain));
|
| bool allow_deleting_history =
|
| prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory);
|
| source->AddBoolean("allowDeletingHistory", allow_deleting_history);
|
|
|