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/google_chrome_strings.h" | 20 #include "chrome/grit/google_chrome_strings.h" |
21 #include "chrome/grit/locale_settings.h" | 21 #include "chrome/grit/locale_settings.h" |
22 #include "chrome/grit/settings_chromium_strings.h" | |
23 #include "chrome/grit/settings_google_chrome_strings.h" | |
24 #include "chrome/grit/settings_strings.h" | |
25 #include "components/autofill/core/browser/payments/payments_service_url.h" | 22 #include "components/autofill/core/browser/payments/payments_service_url.h" |
26 #include "components/autofill/core/common/autofill_constants.h" | 23 #include "components/autofill/core/common/autofill_constants.h" |
27 #include "components/google/core/browser/google_util.h" | 24 #include "components/google/core/browser/google_util.h" |
28 #include "components/password_manager/core/browser/password_manager_constants.h" | 25 #include "components/password_manager/core/browser/password_manager_constants.h" |
29 #include "content/public/browser/web_ui_data_source.h" | 26 #include "content/public/browser/web_ui_data_source.h" |
30 #include "grit/components_strings.h" | 27 #include "grit/components_strings.h" |
31 #include "ui/base/l10n/l10n_util.h" | 28 #include "ui/base/l10n/l10n_util.h" |
32 | 29 |
33 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
34 #include "ash/common/system/chromeos/devicetype_utils.h" | 31 #include "ash/common/system/chromeos/devicetype_utils.h" |
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 #endif | 1332 #endif |
1336 AddUsersStrings(html_source); | 1333 AddUsersStrings(html_source); |
1337 AddWebContentStrings(html_source); | 1334 AddWebContentStrings(html_source); |
1338 | 1335 |
1339 policy_indicator::AddLocalizedStrings(html_source); | 1336 policy_indicator::AddLocalizedStrings(html_source); |
1340 | 1337 |
1341 html_source->SetJsonPath(kLocalizedStringsFile); | 1338 html_source->SetJsonPath(kLocalizedStringsFile); |
1342 } | 1339 } |
1343 | 1340 |
1344 } // namespace settings | 1341 } // namespace settings |
OLD | NEW |