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

Unified Diff: net/tools/gdig/file_net_log.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/tools/gdig/file_net_log.cc
diff --git a/net/tools/gdig/file_net_log.cc b/net/tools/gdig/file_net_log.cc
index 735263d5547d90679a4e0ee9f0eeecaddb1a28fd..0e55682e1982131bde0e0dce646c146ae9d09651 100644
--- a/net/tools/gdig/file_net_log.cc
+++ b/net/tools/gdig/file_net_log.cc
@@ -11,6 +11,7 @@
#include "base/json/json_string_value_serializer.h"
#include "base/logging.h"
#include "base/values.h"
+#include "net/log/net_log_entry.h"
namespace net {
@@ -22,7 +23,7 @@ FileNetLogObserver::FileNetLogObserver(FILE* destination)
FileNetLogObserver::~FileNetLogObserver() {
}
-void FileNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) {
+void FileNetLogObserver::OnAddEntry(const net::NetLogEntry& entry) {
// Only NetLogWithSources without a NetLog should have an invalid source.
DCHECK(entry.source().IsValid());

Powered by Google App Engine
This is Rietveld 408576698