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

Unified Diff: net/log/test_net_log_entry.h

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Ran "git cl format" on code. Much formatting ensued. Created 4 years, 3 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
« no previous file with comments | « net/log/test_net_log.cc ('k') | net/log/test_net_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0508ede818cc59efcf310a96a81acab65b385066..fcec4138f7c6c79588bc0bf238450c99a63e2d0b 100644
--- a/net/log/test_net_log_entry.h
+++ b/net/log/test_net_log_entry.h
@@ -11,6 +11,7 @@
#include "base/time/time.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_event_type.h"
namespace base {
class DictionaryValue;
@@ -27,10 +28,10 @@ struct TestNetLogEntry {
// Ordered set of logged entries.
typedef std::vector<TestNetLogEntry> List;
- TestNetLogEntry(NetLog::EventType type,
+ TestNetLogEntry(NetLogEventType type,
const base::TimeTicks& time,
NetLog::Source source,
- NetLog::EventPhase phase,
+ NetLogEventPhase phase,
std::unique_ptr<base::DictionaryValue> params);
// Copy constructor needed to store in a std::vector because of the
// scoped_ptr.
@@ -58,10 +59,10 @@ struct TestNetLogEntry {
// parameters.
std::string GetParamsJson() const;
- NetLog::EventType type;
+ NetLogEventType type;
base::TimeTicks time;
NetLog::Source source;
- NetLog::EventPhase phase;
+ NetLogEventPhase phase;
std::unique_ptr<base::DictionaryValue> params;
};
« no previous file with comments | « net/log/test_net_log.cc ('k') | net/log/test_net_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698