| 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 16 matching lines...) Expand all Loading... |
| 27 #include "components/autofill/core/common/autofill_constants.h" | 27 #include "components/autofill/core/common/autofill_constants.h" |
| 28 #include "components/google/core/browser/google_util.h" | 28 #include "components/google/core/browser/google_util.h" |
| 29 #include "components/password_manager/core/browser/password_manager_constants.h" | 29 #include "components/password_manager/core/browser/password_manager_constants.h" |
| 30 #include "components/safe_browsing_db/safe_browsing_prefs.h" | 30 #include "components/safe_browsing_db/safe_browsing_prefs.h" |
| 31 #include "components/strings/grit/components_strings.h" | 31 #include "components/strings/grit/components_strings.h" |
| 32 #include "content/public/browser/web_ui_data_source.h" | 32 #include "content/public/browser/web_ui_data_source.h" |
| 33 #include "ui/base/l10n/l10n_util.h" | 33 #include "ui/base/l10n/l10n_util.h" |
| 34 | 34 |
| 35 #if defined(OS_CHROMEOS) | 35 #if defined(OS_CHROMEOS) |
| 36 #include "ash/common/ash_switches.h" | 36 #include "ash/common/ash_switches.h" |
| 37 #include "ash/common/system/chromeos/devicetype_utils.h" | 37 #include "ash/system/devicetype_utils.h" |
| 38 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 38 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 39 #include "chrome/browser/ui/webui/chromeos/network_element_localized_strings_pro
vider.h" | 39 #include "chrome/browser/ui/webui/chromeos/network_element_localized_strings_pro
vider.h" |
| 40 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" | 40 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" |
| 41 #include "chromeos/chromeos_switches.h" | 41 #include "chromeos/chromeos_switches.h" |
| 42 #include "components/user_manager/user.h" | 42 #include "components/user_manager/user.h" |
| 43 #include "components/user_manager/user_manager.h" | 43 #include "components/user_manager/user_manager.h" |
| 44 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | 44 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" |
| 45 #else | 45 #else |
| 46 #include "chrome/browser/ui/webui/settings/system_handler.h" | 46 #include "chrome/browser/ui/webui/settings/system_handler.h" |
| 47 #endif | 47 #endif |
| (...skipping 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1971 | 1971 |
| 1972 #if defined(OS_CHROMEOS) | 1972 #if defined(OS_CHROMEOS) |
| 1973 chromeos::network_element::AddLocalizedStrings(html_source); | 1973 chromeos::network_element::AddLocalizedStrings(html_source); |
| 1974 #endif | 1974 #endif |
| 1975 policy_indicator::AddLocalizedStrings(html_source); | 1975 policy_indicator::AddLocalizedStrings(html_source); |
| 1976 | 1976 |
| 1977 html_source->SetJsonPath(kLocalizedStringsFile); | 1977 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1978 } | 1978 } |
| 1979 | 1979 |
| 1980 } // namespace settings | 1980 } // namespace settings |
| OLD | NEW |