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" |
(...skipping 26 matching lines...) Expand all Loading... |
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" |
41 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 41 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
42 #include "chrome/browser/ui/webui/chromeos/network_element_localized_strings_pro
vider.h" | 42 #include "chrome/browser/ui/webui/chromeos/network_element_localized_strings_pro
vider.h" |
43 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" | 43 #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h" |
44 #include "chromeos/chromeos_switches.h" | 44 #include "chromeos/chromeos_switches.h" |
45 #include "components/user_manager/user.h" | 45 #include "components/user_manager/user.h" |
46 #include "components/user_manager/user_manager.h" | 46 #include "components/user_manager/user_manager.h" |
47 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | |
48 #include "ui/display/display_switches.h" | 47 #include "ui/display/display_switches.h" |
49 #else | 48 #else |
50 #include "chrome/browser/ui/webui/settings/system_handler.h" | 49 #include "chrome/browser/ui/webui/settings/system_handler.h" |
51 #endif | 50 #endif |
52 | 51 |
53 namespace settings { | 52 namespace settings { |
54 namespace { | 53 namespace { |
55 | 54 |
56 // Note that settings.html contains a <script> tag which imports a script of | 55 // Note that settings.html contains a <script> tag which imports a script of |
57 // the following name. These names must be kept in sync. | 56 // the following name. These names must be kept in sync. |
(...skipping 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2117 | 2116 |
2118 #if defined(OS_CHROMEOS) | 2117 #if defined(OS_CHROMEOS) |
2119 chromeos::network_element::AddLocalizedStrings(html_source); | 2118 chromeos::network_element::AddLocalizedStrings(html_source); |
2120 #endif | 2119 #endif |
2121 policy_indicator::AddLocalizedStrings(html_source); | 2120 policy_indicator::AddLocalizedStrings(html_source); |
2122 | 2121 |
2123 html_source->SetJsonPath(kLocalizedStringsFile); | 2122 html_source->SetJsonPath(kLocalizedStringsFile); |
2124 } | 2123 } |
2125 | 2124 |
2126 } // namespace settings | 2125 } // namespace settings |
OLD | NEW |