| 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 "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/common/url_constants.h" | 8 #include "chrome/common/url_constants.h" |
| 9 #include "chrome/grit/chromium_strings.h" | 9 #include "chrome/grit/chromium_strings.h" |
| 10 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
| 11 #include "chrome/grit/google_chrome_strings.h" | 11 #include "chrome/grit/google_chrome_strings.h" |
| 12 #include "chrome/grit/locale_settings.h" | 12 #include "chrome/grit/locale_settings.h" |
| 13 #include "chrome/grit/settings_strings.h" |
| 13 #include "content/public/browser/web_ui_data_source.h" | 14 #include "content/public/browser/web_ui_data_source.h" |
| 14 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
| 15 | 16 |
| 16 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
| 17 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | 18 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" |
| 18 #endif | 19 #endif |
| 19 | 20 |
| 20 namespace { | 21 namespace { |
| 21 | 22 |
| 22 // Note that settings.html contains a <script> tag which imports a script of | 23 // Note that settings.html contains a <script> tag which imports a script of |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 AddPrivacyStrings(html_source); | 492 AddPrivacyStrings(html_source); |
| 492 AddSearchStrings(html_source); | 493 AddSearchStrings(html_source); |
| 493 AddSearchEnginesStrings(html_source); | 494 AddSearchEnginesStrings(html_source); |
| 494 AddSiteSettingsStrings(html_source); | 495 AddSiteSettingsStrings(html_source); |
| 495 AddSyncStrings(html_source); | 496 AddSyncStrings(html_source); |
| 496 AddUsersStrings(html_source); | 497 AddUsersStrings(html_source); |
| 497 html_source->SetJsonPath(kLocalizedStringsFile); | 498 html_source->SetJsonPath(kLocalizedStringsFile); |
| 498 } | 499 } |
| 499 | 500 |
| 500 } // namespace settings | 501 } // namespace settings |
| OLD | NEW |