| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" | 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/i18n/number_formatting.h" | 10 #include "base/i18n/number_formatting.h" |
| (...skipping 1942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1953 AddSearchInSettingsStrings(html_source); | 1953 AddSearchInSettingsStrings(html_source); |
| 1954 AddSearchStrings(html_source); | 1954 AddSearchStrings(html_source); |
| 1955 AddSiteSettingsStrings(html_source, profile); | 1955 AddSiteSettingsStrings(html_source, profile); |
| 1956 AddUsersStrings(html_source); | 1956 AddUsersStrings(html_source); |
| 1957 AddWebContentStrings(html_source); | 1957 AddWebContentStrings(html_source); |
| 1958 | 1958 |
| 1959 #if defined(OS_CHROMEOS) | 1959 #if defined(OS_CHROMEOS) |
| 1960 AddAccountUITweaksStrings(html_source, profile); | 1960 AddAccountUITweaksStrings(html_source, profile); |
| 1961 AddAndroidAppStrings(html_source); | 1961 AddAndroidAppStrings(html_source); |
| 1962 AddBluetoothStrings(html_source); | 1962 AddBluetoothStrings(html_source); |
| 1963 AddChromeOSUserStrings(html_source, profile); |
| 1963 AddDateTimeStrings(html_source); | 1964 AddDateTimeStrings(html_source); |
| 1964 AddDeviceStrings(html_source); | 1965 AddDeviceStrings(html_source); |
| 1965 AddEasyUnlockStrings(html_source); | 1966 AddEasyUnlockStrings(html_source); |
| 1966 AddInternetStrings(html_source); | 1967 AddInternetStrings(html_source); |
| 1967 AddChromeOSUserStrings(html_source, profile); | |
| 1968 AddOncStrings(html_source); | 1968 AddOncStrings(html_source); |
| 1969 #else | 1969 #else |
| 1970 AddDefaultBrowserStrings(html_source); | 1970 AddDefaultBrowserStrings(html_source); |
| 1971 AddImportDataStrings(html_source); | 1971 AddImportDataStrings(html_source); |
| 1972 AddSystemStrings(html_source); | 1972 AddSystemStrings(html_source); |
| 1973 #endif | 1973 #endif |
| 1974 | 1974 |
| 1975 #if defined(USE_NSS_CERTS) | 1975 #if defined(USE_NSS_CERTS) |
| 1976 AddCertificateManagerStrings(html_source); | 1976 AddCertificateManagerStrings(html_source); |
| 1977 #endif | 1977 #endif |
| 1978 | 1978 |
| 1979 #if defined(OS_CHROMEOS) | 1979 #if defined(OS_CHROMEOS) |
| 1980 chromeos::network_element::AddLocalizedStrings(html_source); | 1980 chromeos::network_element::AddLocalizedStrings(html_source); |
| 1981 #endif | 1981 #endif |
| 1982 policy_indicator::AddLocalizedStrings(html_source); | 1982 policy_indicator::AddLocalizedStrings(html_source); |
| 1983 | 1983 |
| 1984 html_source->SetJsonPath(kLocalizedStringsFile); | 1984 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1985 } | 1985 } |
| 1986 | 1986 |
| 1987 } // namespace settings | 1987 } // namespace settings |
| OLD | NEW |