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" | |
21 #include "chrome/grit/locale_settings.h" | 20 #include "chrome/grit/locale_settings.h" |
22 #include "components/autofill/core/browser/payments/payments_service_url.h" | 21 #include "components/autofill/core/browser/payments/payments_service_url.h" |
23 #include "components/autofill/core/common/autofill_constants.h" | 22 #include "components/autofill/core/common/autofill_constants.h" |
24 #include "components/google/core/browser/google_util.h" | 23 #include "components/google/core/browser/google_util.h" |
25 #include "components/password_manager/core/browser/password_manager_constants.h" | 24 #include "components/password_manager/core/browser/password_manager_constants.h" |
26 #include "content/public/browser/web_ui_data_source.h" | 25 #include "content/public/browser/web_ui_data_source.h" |
27 #include "grit/components_strings.h" | 26 #include "grit/components_strings.h" |
28 #include "ui/base/l10n/l10n_util.h" | 27 #include "ui/base/l10n/l10n_util.h" |
29 | 28 |
30 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 #endif | 1339 #endif |
1341 AddUsersStrings(html_source); | 1340 AddUsersStrings(html_source); |
1342 AddWebContentStrings(html_source); | 1341 AddWebContentStrings(html_source); |
1343 | 1342 |
1344 policy_indicator::AddLocalizedStrings(html_source); | 1343 policy_indicator::AddLocalizedStrings(html_source); |
1345 | 1344 |
1346 html_source->SetJsonPath(kLocalizedStringsFile); | 1345 html_source->SetJsonPath(kLocalizedStringsFile); |
1347 } | 1346 } |
1348 | 1347 |
1349 } // namespace settings | 1348 } // namespace settings |
OLD | NEW |