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" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" | 16 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" |
17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
18 #include "chrome/grit/chromium_strings.h" | 18 #include "chrome/grit/chromium_strings.h" |
19 #include "chrome/grit/generated_resources.h" | 19 #include "chrome/grit/generated_resources.h" |
20 #include "chrome/grit/locale_settings.h" | 20 #include "chrome/grit/locale_settings.h" |
21 #include "components/autofill/core/browser/payments/payments_service_url.h" | 21 #include "components/autofill/core/browser/payments/payments_service_url.h" |
22 #include "components/autofill/core/common/autofill_constants.h" | 22 #include "components/autofill/core/common/autofill_constants.h" |
23 #include "components/google/core/browser/google_util.h" | 23 #include "components/google/core/browser/google_util.h" |
24 #include "components/password_manager/core/browser/password_manager_constants.h" | 24 #include "components/password_manager/core/browser/password_manager_constants.h" |
| 25 #include "components/strings/grit/components_strings.h" |
25 #include "content/public/browser/web_ui_data_source.h" | 26 #include "content/public/browser/web_ui_data_source.h" |
26 #include "grit/components_strings.h" | |
27 #include "ui/base/l10n/l10n_util.h" | 27 #include "ui/base/l10n/l10n_util.h" |
28 | 28 |
29 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
30 #include "ash/common/system/chromeos/devicetype_utils.h" | 30 #include "ash/common/system/chromeos/devicetype_utils.h" |
31 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 31 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
32 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" | 32 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" |
33 #include "chromeos/chromeos_switches.h" | 33 #include "chromeos/chromeos_switches.h" |
34 #include "components/user_manager/user.h" | 34 #include "components/user_manager/user.h" |
35 #include "components/user_manager/user_manager.h" | 35 #include "components/user_manager/user_manager.h" |
36 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | 36 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 #endif | 1433 #endif |
1434 AddUsersStrings(html_source); | 1434 AddUsersStrings(html_source); |
1435 AddWebContentStrings(html_source); | 1435 AddWebContentStrings(html_source); |
1436 | 1436 |
1437 policy_indicator::AddLocalizedStrings(html_source); | 1437 policy_indicator::AddLocalizedStrings(html_source); |
1438 | 1438 |
1439 html_source->SetJsonPath(kLocalizedStringsFile); | 1439 html_source->SetJsonPath(kLocalizedStringsFile); |
1440 } | 1440 } |
1441 | 1441 |
1442 } // namespace settings | 1442 } // namespace settings |
OLD | NEW |