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 "chrome/grit/generated_resources.h" |
9 #include "grit/ash_strings.h" | 10 #include "grit/ash_strings.h" |
10 #include "grit/generated_resources.h" | |
11 #include "third_party/cros_system_api/dbus/service_constants.h" | 11 #include "third_party/cros_system_api/dbus/service_constants.h" |
12 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 namespace internet_options_strings { | 15 namespace internet_options_strings { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 struct StringResource { | 19 struct StringResource { |
20 const char* name; | 20 const char* name; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 id = IDS_STATUSBAR_NETWORK_DEVICE_WIFI; | 228 id = IDS_STATUSBAR_NETWORK_DEVICE_WIFI; |
229 else if (network_type == shill::kTypeCellular) | 229 else if (network_type == shill::kTypeCellular) |
230 id = IDS_STATUSBAR_NETWORK_DEVICE_CELLULAR; | 230 id = IDS_STATUSBAR_NETWORK_DEVICE_CELLULAR; |
231 else | 231 else |
232 id = IDS_STATUSBAR_NETWORK_DEVICE_UNKNOWN; | 232 id = IDS_STATUSBAR_NETWORK_DEVICE_UNKNOWN; |
233 return l10n_util::GetStringUTF8(id); | 233 return l10n_util::GetStringUTF8(id); |
234 } | 234 } |
235 | 235 |
236 } // namespace internet_options_strings | 236 } // namespace internet_options_strings |
237 } // namespace chromeos | 237 } // namespace chromeos |
OLD | NEW |