| Index: chrome/browser/dom_ui/options/advanced_options_handler.cc
|
| diff --git a/chrome/browser/dom_ui/options/advanced_options_handler.cc b/chrome/browser/dom_ui/options/advanced_options_handler.cc
|
| index 17c1d904ff87dd95c0d4a56ee0c0702420d8ccfd..813e996c6a72355744932950f939187aeb10346c 100644
|
| --- a/chrome/browser/dom_ui/options/advanced_options_handler.cc
|
| +++ b/chrome/browser/dom_ui/options/advanced_options_handler.cc
|
| @@ -187,6 +187,8 @@ void AdvancedOptionsHandler::GetLocalizedValues(
|
| l10n_util::GetStringUTF16(IDS_OPTIONS_ADVANCED_SECTION_TITLE_REMOTING));
|
| localized_strings->SetString("remotingSetupButton",
|
| l10n_util::GetStringUTF16(IDS_OPTIONS_REMOTING_SETUP_BUTTON));
|
| + localized_strings->SetString("remotingStopButton",
|
| + l10n_util::GetStringUTF16(IDS_OPTIONS_REMOTING_STOP_BUTTON));
|
| #endif
|
| localized_strings->SetString("enableLogging",
|
| l10n_util::GetStringUTF16(IDS_OPTIONS_ENABLE_LOGGING));
|
| @@ -219,6 +221,8 @@ void AdvancedOptionsHandler::Initialize() {
|
| #if defined(ENABLE_REMOTING) && !defined(OS_CHROMEOS)
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableRemoting)) {
|
| RemoveRemotingSection();
|
| + } else {
|
| + remoting_options_handler_.Init(dom_ui_);
|
| }
|
| #endif
|
|
|
|
|