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 "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_tokenizer.h" | 10 #include "base/strings/string_tokenizer.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/browser/ui/webui/about_ui.h" | 12 #include "chrome/browser/ui/webui/about_ui.h" |
13 #include "chromeos/network/network_event_log.h" | 13 #include "chromeos/network/network_event_log.h" |
14 #include "chromeos/network/network_state.h" | 14 #include "chromeos/network/network_state.h" |
15 #include "chromeos/network/network_state_handler.h" | 15 #include "chromeos/network/network_state_handler.h" |
16 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
17 #include "net/base/escape.h" | 17 #include "net/base/escape.h" |
18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 std::string output = GetHeaderHtmlInfo(refresh); | 156 std::string output = GetHeaderHtmlInfo(refresh); |
157 if (network_event_log::IsInitialized()) | 157 if (network_event_log::IsInitialized()) |
158 output += GetEventLogSection(debug); | 158 output += GetEventLogSection(debug); |
159 output += GetNetworkStateHtmlInfo(); | 159 output += GetNetworkStateHtmlInfo(); |
160 return output; | 160 return output; |
161 } | 161 } |
162 | 162 |
163 } // namespace about_ui | 163 } // namespace about_ui |
164 | 164 |
165 } // namespace chromeos | 165 } // namespace chromeos |
OLD | NEW |