OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chromeos/about_network.h" | 5 #include "chrome/browser/ui/webui/chromeos/about_network.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/string_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 WrapWithTH("Activation") + | 235 WrapWithTH("Activation") + |
236 WrapWithTH("Romaing") + | 236 WrapWithTH("Romaing") + |
237 WrapWithTH("Strength"); | 237 WrapWithTH("Strength"); |
238 return WrapWithTR(str); | 238 return WrapWithTR(str); |
239 } | 239 } |
240 | 240 |
241 std::string NetworkStateToHtmlTableRow(const NetworkState* network) { | 241 std::string NetworkStateToHtmlTableRow(const NetworkState* network) { |
242 std::string str = | 242 std::string str = |
243 WrapWithTD(network->name()) + | 243 WrapWithTD(network->name()) + |
244 WrapWithTD(network->type()) + | 244 WrapWithTD(network->type()) + |
245 WrapWithTD(network->state()) + | 245 WrapWithTD(network->connection_state()) + |
246 WrapWithTD(network->path()) + | 246 WrapWithTD(network->path()) + |
247 WrapWithTD(network->ip_address()) + | 247 WrapWithTD(network->ip_address()) + |
248 WrapWithTD(network->security()) + | 248 WrapWithTD(network->security()) + |
249 WrapWithTD(network->technology()) + | 249 WrapWithTD(network->technology()) + |
250 WrapWithTD(network->activation_state()) + | 250 WrapWithTD(network->activation_state()) + |
251 WrapWithTD(network->roaming()) + | 251 WrapWithTD(network->roaming()) + |
252 WrapWithTD(base::IntToString(network->signal_strength())); | 252 WrapWithTD(base::IntToString(network->signal_strength())); |
253 return WrapWithTR(str); | 253 return WrapWithTR(str); |
254 } | 254 } |
255 | 255 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 output += GetNetworkStateHtmlInfo(); | 287 output += GetNetworkStateHtmlInfo(); |
288 } else { | 288 } else { |
289 output += GetCrosNetworkHtmlInfo(); | 289 output += GetCrosNetworkHtmlInfo(); |
290 } | 290 } |
291 return output; | 291 return output; |
292 } | 292 } |
293 | 293 |
294 } // namespace about_ui | 294 } // namespace about_ui |
295 | 295 |
296 } // namespace chromeos | 296 } // namespace chromeos |
OLD | NEW |