Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: net/log/trace_net_log_observer.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/log/trace_net_log_observer.cc
diff --git a/net/log/trace_net_log_observer.cc b/net/log/trace_net_log_observer.cc
index 6ec2e3c3ce6a27ec81174072d78f9ddfadfc0448..4c7b7dcc605be4d7263ab6b59e589443a19fdca5 100644
--- a/net/log/trace_net_log_observer.cc
+++ b/net/log/trace_net_log_observer.cc
@@ -14,7 +14,7 @@
#include "base/logging.h"
#include "base/trace_event/trace_event.h"
#include "base/values.h"
-#include "net/log/net_log.h"
+#include "net/log/net_log_entry.h"
#include "net/log/net_log_event_type.h"
namespace net {
@@ -56,7 +56,7 @@ TraceNetLogObserver::~TraceNetLogObserver() {
DCHECK(!net_log());
}
-void TraceNetLogObserver::OnAddEntry(const NetLog::Entry& entry) {
+void TraceNetLogObserver::OnAddEntry(const NetLogEntry& entry) {
std::unique_ptr<base::Value> params(entry.ParametersToValue());
switch (entry.phase()) {
case NetLogEventPhase::BEGIN:

Powered by Google App Engine
This is Rietveld 408576698