| Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| index b1d34f372e253fc60f2f48d9f6abc5fc26f0fa3c..85d3816e27244825a06dbdd7e0565e3d7019828b 100644
|
| --- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| @@ -34,6 +34,7 @@
|
| #include "ash/wm/lock_state_controller.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/callback.h"
|
| +#include "base/feature_list.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -77,6 +78,7 @@
|
| #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
|
| #include "chrome/browser/ui/singleton_tabs.h"
|
| #include "chrome/browser/upgrade_detector.h"
|
| +#include "chrome/common/chrome_features.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -547,9 +549,14 @@ void SystemTrayDelegateChromeOS::ActivateIMEProperty(const std::string& key) {
|
|
|
| void SystemTrayDelegateChromeOS::ManageBluetoothDevices() {
|
| content::RecordAction(base::UserMetricsAction("ShowBluetoothSettingsPage"));
|
| - std::string sub_page =
|
| - std::string(chrome::kSearchSubPage) + "#" +
|
| - l10n_util::GetStringUTF8(IDS_OPTIONS_SETTINGS_SECTION_TITLE_BLUETOOTH);
|
| + std::string sub_page;
|
| + if (base::FeatureList::IsEnabled(features::kMaterialDesignSettings)) {
|
| + sub_page = chrome::kBluetoothSubPage;
|
| + } else {
|
| + std::string sub_page =
|
| + std::string(chrome::kDeprecatedOptionsSearchSubPage) + "#" +
|
| + l10n_util::GetStringUTF8(IDS_OPTIONS_SETTINGS_SECTION_TITLE_BLUETOOTH);
|
| + }
|
| ShowSettingsSubPageForActiveUser(sub_page);
|
| }
|
|
|
|
|