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/content_settings/host_content_settings_map_factory.h" | 15 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
16 #include "chrome/browser/plugins/plugin_utils.h" | 16 #include "chrome/browser/plugins/plugin_utils.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 18 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
19 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" | 19 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" |
20 #include "chrome/common/chrome_features.h" | 20 #include "chrome/common/chrome_features.h" |
21 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
22 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
23 #include "chrome/grit/chromium_strings.h" | 23 #include "chrome/grit/chromium_strings.h" |
24 #include "chrome/grit/generated_resources.h" | 24 #include "chrome/grit/generated_resources.h" |
25 #include "chrome/grit/locale_settings.h" | 25 #include "chrome/grit/locale_settings.h" |
26 #include "components/autofill/core/browser/payments/payments_service_url.h" | 26 #include "components/autofill/core/browser/payments/payments_service_url.h" |
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/common/safe_browsing_prefs.h" |
31 #include "components/strings/grit/components_strings.h" | 31 #include "components/strings/grit/components_strings.h" |
32 #include "components/subresource_filter/core/browser/subresource_filter_features
.h" | 32 #include "components/subresource_filter/core/browser/subresource_filter_features
.h" |
33 #include "content/public/browser/web_ui_data_source.h" | 33 #include "content/public/browser/web_ui_data_source.h" |
34 #include "ui/base/l10n/l10n_util.h" | 34 #include "ui/base/l10n/l10n_util.h" |
35 | 35 |
36 #if defined(OS_CHROMEOS) | 36 #if defined(OS_CHROMEOS) |
37 #include "ash/system/devicetype_utils.h" | 37 #include "ash/system/devicetype_utils.h" |
38 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 38 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
39 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 39 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" |
40 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 40 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
(...skipping 2032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 | 2073 |
2074 #if defined(OS_CHROMEOS) | 2074 #if defined(OS_CHROMEOS) |
2075 chromeos::network_element::AddLocalizedStrings(html_source); | 2075 chromeos::network_element::AddLocalizedStrings(html_source); |
2076 #endif | 2076 #endif |
2077 policy_indicator::AddLocalizedStrings(html_source); | 2077 policy_indicator::AddLocalizedStrings(html_source); |
2078 | 2078 |
2079 html_source->SetJsonPath(kLocalizedStringsFile); | 2079 html_source->SetJsonPath(kLocalizedStringsFile); |
2080 } | 2080 } |
2081 | 2081 |
2082 } // namespace settings | 2082 } // namespace settings |
OLD | NEW |