| Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| index 30ba06eb53a0dc28dd60f9a1d665b51564f35b05..adf0ae6bc4f1a86f379e256dda177ec41ffa9b15 100644
|
| --- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| +++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h"
|
| #include "chrome/common/chrome_features.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/grit/chromium_strings.h"
|
| #include "chrome/grit/generated_resources.h"
|
| @@ -27,11 +28,11 @@
|
| #include "content/public/browser/web_ui_data_source.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| +
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/common/system/chromeos/devicetype_utils.h"
|
| #include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| #include "chromeos/chromeos_switches.h"
|
| #include "components/user_manager/user.h"
|
| #include "components/user_manager/user_manager.h"
|
| @@ -1487,6 +1488,10 @@ void AddSiteSettingsStrings(content::WebUIDataSource* html_source) {
|
| AddLocalizedStringsBulk(html_source, localized_strings,
|
| arraysize(localized_strings));
|
|
|
| + html_source->AddBoolean("enableSiteSettingsAllSitesAndDetails",
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kSiteSettingsAllSitesAndDetails));
|
| +
|
| if (base::FeatureList::IsEnabled(features::kPreferHtmlOverPlugins)) {
|
| LocalizedString flash_strings[] = {
|
| {"siteSettingsFlashAskBefore",
|
|
|