blob: 5614f46cffe961e952e251d52235d310bafa4252 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/web_ui_data_source.h"
namespace policy_indicator {
void AddLocalizedStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString("controlledSettingPolicy",
IDS_OPTIONS_CONTROLLED_SETTING_POLICY);
html_source->AddLocalizedString("controlledSettingRecommendedMatches",
IDS_OPTIONS_CONTROLLED_SETTING_RECOMMENDED);
html_source->AddLocalizedString(
"controlledSettingRecommendedDiffers",
IDS_OPTIONS_CONTROLLED_SETTING_HAS_RECOMMENDATION);
html_source->AddLocalizedString(
"controlledSettingExtension",
IDS_SETTINGS_CONTROLLED_SETTING_NAMED_EXTENSION);
#if defined(OS_CHROMEOS)
html_source->AddLocalizedString("controlledSettingShared",
IDS_OPTIONS_CONTROLLED_SETTING_SHARED);
html_source->AddLocalizedString("controlledSettingOwner",
IDS_OPTIONS_CONTROLLED_SETTING_OWNER);
#endif
}
} // namespace policy_indicator