OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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/options/chromeos/internet_options_handler_stri
ngs.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/internet_options_handler_stri
ngs.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "grit/ash_strings.h" | 9 #include "grit/ash_strings.h" |
10 #include "grit/chromium_strings.h" | |
11 #include "grit/generated_resources.h" | 10 #include "grit/generated_resources.h" |
12 #include "third_party/cros_system_api/dbus/service_constants.h" | 11 #include "third_party/cros_system_api/dbus/service_constants.h" |
13 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
14 | 13 |
15 namespace chromeos { | 14 namespace chromeos { |
16 namespace internet_options_strings { | 15 namespace internet_options_strings { |
17 | 16 |
18 namespace { | 17 namespace { |
19 | 18 |
20 struct StringResource { | 19 struct StringResource { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 id = IDS_STATUSBAR_NETWORK_DEVICE_WIFI; | 228 id = IDS_STATUSBAR_NETWORK_DEVICE_WIFI; |
230 else if (network_type == shill::kTypeCellular) | 229 else if (network_type == shill::kTypeCellular) |
231 id = IDS_STATUSBAR_NETWORK_DEVICE_CELLULAR; | 230 id = IDS_STATUSBAR_NETWORK_DEVICE_CELLULAR; |
232 else | 231 else |
233 id = IDS_STATUSBAR_NETWORK_DEVICE_UNKNOWN; | 232 id = IDS_STATUSBAR_NETWORK_DEVICE_UNKNOWN; |
234 return l10n_util::GetStringUTF8(id); | 233 return l10n_util::GetStringUTF8(id); |
235 } | 234 } |
236 | 235 |
237 } // namespace internet_options_strings | 236 } // namespace internet_options_strings |
238 } // namespace chromeos | 237 } // namespace chromeos |
OLD | NEW |