Index: chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
index 06878f462965e5e3ad518161884b55108d784adc..92fa2f1df6016bd3b57d3505df5496858d538cb9 100644 |
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
@@ -75,6 +75,9 @@ |
#include "net/http/http_server_properties.h" |
#include "net/http/http_stream_factory.h" |
#include "net/http/transport_security_state.h" |
+#include "net/log/net_log.h" |
+#include "net/log/net_log_capture_mode.h" |
+#include "net/log/net_log_entry.h" |
#include "net/log/net_log_util.h" |
#include "net/log/write_to_file_net_log_observer.h" |
#include "net/proxy/proxy_service.h" |
@@ -306,7 +309,7 @@ class NetInternalsMessageHandler::IOThreadImpl |
void OnSetCaptureMode(const base::ListValue* list); |
// NetLog::ThreadSafeObserver implementation: |
- void OnAddEntry(const net::NetLog::Entry& entry) override; |
+ void OnAddEntry(const net::NetLogEntry& entry) override; |
// Helper that calls g_browser.receive in the renderer, passing in |command| |
// and |arg|. If the renderer is displaying a log file, the message will be |
@@ -1098,7 +1101,7 @@ void NetInternalsMessageHandler::IOThreadImpl::OnSetCaptureMode( |
// Note that unlike other methods of IOThreadImpl, this function |
// can be called from ANY THREAD. |
void NetInternalsMessageHandler::IOThreadImpl::OnAddEntry( |
- const net::NetLog::Entry& entry) { |
+ const net::NetLogEntry& entry) { |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
base::Bind(&IOThreadImpl::AddEntryToQueue, this, |
base::Passed(entry.ToValue()))); |