| Index: chrome/browser/ui/webui/options/content_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| index 337030021aea39818b40cafd80862eb943677cd4..4c6a602fbc7a0c19cd623cdd5b723fbb1c65c19a 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| @@ -781,7 +781,7 @@ void ContentSettingsHandler::UpdateMediaSettingsFromPrefs(
|
| }
|
|
|
| void ContentSettingsHandler::UpdateHandlersEnabledRadios() {
|
| - base::FundamentalValue handlers_enabled(
|
| + base::Value handlers_enabled(
|
| GetProtocolHandlerRegistry()->enabled());
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| @@ -1356,7 +1356,7 @@ void ContentSettingsHandler::CheckExceptionPatternValidity(
|
| "ContentSettings.patternValidityCheckComplete",
|
| base::StringValue(type_string), base::StringValue(mode_string),
|
| base::StringValue(pattern_string),
|
| - base::FundamentalValue(pattern.IsValid()));
|
| + base::Value(pattern.IsValid()));
|
| }
|
|
|
| Profile* ContentSettingsHandler::GetProfile() {
|
| @@ -1422,7 +1422,7 @@ void ContentSettingsHandler::ShowFlashMediaLink(
|
| base::StringValue(content_type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC
|
| ? "mic"
|
| : "camera"),
|
| - base::FundamentalValue(show));
|
| + base::Value(show));
|
| show_link = show;
|
| }
|
| }
|
| @@ -1480,7 +1480,7 @@ void ContentSettingsHandler::UpdateMediaDeviceDropdownVisibility(
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ContentSettings.setDevicesMenuVisibility",
|
| base::StringValue(site_settings::ContentSettingsTypeToGroupName(type)),
|
| - base::FundamentalValue(!settings.policy_disable));
|
| + base::Value(!settings.policy_disable));
|
| }
|
|
|
| void ContentSettingsHandler::UpdateProtectedContentExceptionsButton() {
|
| @@ -1495,7 +1495,7 @@ void ContentSettingsHandler::UpdateProtectedContentExceptionsButton() {
|
| bool enable_exceptions = prefs->GetBoolean(prefs::kEnableDRM);
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ContentSettings.enableProtectedContentExceptions",
|
| - base::FundamentalValue(enable_exceptions));
|
| + base::Value(enable_exceptions));
|
| }
|
|
|
| } // namespace options
|
|
|