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

Unified Diff: net/log/test_net_log_entry.h

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/test_net_log_entry.h
diff --git a/net/log/test_net_log_entry.h b/net/log/test_net_log_entry.h
index fcec4138f7c6c79588bc0bf238450c99a63e2d0b..92c0c5e8736f0128f74f7d9acdba18e9983c6e1a 100644
--- a/net/log/test_net_log_entry.h
+++ b/net/log/test_net_log_entry.h
@@ -10,8 +10,8 @@
#include <vector>
#include "base/time/time.h"
-#include "net/log/net_log.h"
#include "net/log/net_log_event_type.h"
+#include "net/log/net_log_source.h"
namespace base {
class DictionaryValue;
@@ -20,7 +20,7 @@ class ListValue;
namespace net {
-// TestNetLogEntry is much like NetLog::Entry, except it has its own copy of all
+// TestNetLogEntry is much like NetLogEntry, except it has its own copy of all
// log data, so a list of entries can be gathered over the course of a test, and
// then inspected at the end. It is intended for testing only, and is part of
// the net_test_support project.
@@ -30,7 +30,7 @@ struct TestNetLogEntry {
TestNetLogEntry(NetLogEventType type,
const base::TimeTicks& time,
- NetLog::Source source,
+ NetLogSource source,
NetLogEventPhase phase,
std::unique_ptr<base::DictionaryValue> params);
// Copy constructor needed to store in a std::vector because of the
@@ -61,7 +61,7 @@ struct TestNetLogEntry {
NetLogEventType type;
base::TimeTicks time;
- NetLog::Source source;
+ NetLogSource source;
NetLogEventPhase phase;
std::unique_ptr<base::DictionaryValue> params;
};

Powered by Google App Engine
This is Rietveld 408576698