| 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/net_internals/net_internals_ui.h" | 5 #include "chrome/browser/ui/webui/net_internals/net_internals_ui.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 #include "net/http/http_network_session.h" | 72 #include "net/http/http_network_session.h" |
| 73 #include "net/http/http_server_properties.h" | 73 #include "net/http/http_server_properties.h" |
| 74 #include "net/http/http_stream_factory.h" | 74 #include "net/http/http_stream_factory.h" |
| 75 #include "net/http/transport_security_state.h" | 75 #include "net/http/transport_security_state.h" |
| 76 #include "net/proxy/proxy_service.h" | 76 #include "net/proxy/proxy_service.h" |
| 77 #include "net/url_request/url_request_context.h" | 77 #include "net/url_request/url_request_context.h" |
| 78 #include "net/url_request/url_request_context_getter.h" | 78 #include "net/url_request/url_request_context_getter.h" |
| 79 #include "ui/base/resource/resource_bundle.h" | 79 #include "ui/base/resource/resource_bundle.h" |
| 80 | 80 |
| 81 #if defined(OS_CHROMEOS) | 81 #if defined(OS_CHROMEOS) |
| 82 #include "chrome/browser/chromeos/login/user.h" | 82 #include "chrome/browser/chromeos/login/users/user.h" |
| 83 #include "chrome/browser/chromeos/login/user_manager.h" | 83 #include "chrome/browser/chromeos/login/users/user_manager.h" |
| 84 #include "chrome/browser/chromeos/net/onc_utils.h" | 84 #include "chrome/browser/chromeos/net/onc_utils.h" |
| 85 #include "chrome/browser/chromeos/system/syslogs_provider.h" | 85 #include "chrome/browser/chromeos/system/syslogs_provider.h" |
| 86 #include "chrome/browser/net/nss_context.h" | 86 #include "chrome/browser/net/nss_context.h" |
| 87 #include "chromeos/dbus/dbus_thread_manager.h" | 87 #include "chromeos/dbus/dbus_thread_manager.h" |
| 88 #include "chromeos/dbus/debug_daemon_client.h" | 88 #include "chromeos/dbus/debug_daemon_client.h" |
| 89 #include "chromeos/network/onc/onc_certificate_importer_impl.h" | 89 #include "chromeos/network/onc/onc_certificate_importer_impl.h" |
| 90 #include "chromeos/network/onc/onc_utils.h" | 90 #include "chromeos/network/onc/onc_utils.h" |
| 91 #endif | 91 #endif |
| 92 #if defined(OS_WIN) | 92 #if defined(OS_WIN) |
| 93 #include "chrome/browser/net/service_providers_win.h" | 93 #include "chrome/browser/net/service_providers_win.h" |
| (...skipping 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 } | 1834 } |
| 1835 | 1835 |
| 1836 NetInternalsUI::NetInternalsUI(content::WebUI* web_ui) | 1836 NetInternalsUI::NetInternalsUI(content::WebUI* web_ui) |
| 1837 : WebUIController(web_ui) { | 1837 : WebUIController(web_ui) { |
| 1838 web_ui->AddMessageHandler(new NetInternalsMessageHandler()); | 1838 web_ui->AddMessageHandler(new NetInternalsMessageHandler()); |
| 1839 | 1839 |
| 1840 // Set up the chrome://net-internals/ source. | 1840 // Set up the chrome://net-internals/ source. |
| 1841 Profile* profile = Profile::FromWebUI(web_ui); | 1841 Profile* profile = Profile::FromWebUI(web_ui); |
| 1842 content::WebUIDataSource::Add(profile, CreateNetInternalsHTMLSource()); | 1842 content::WebUIDataSource::Add(profile, CreateNetInternalsHTMLSource()); |
| 1843 } | 1843 } |
| OLD | NEW |