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

Unified Diff: net/log/test_net_log.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.h
diff --git a/net/log/test_net_log.h b/net/log/test_net_log.h
index 7568c4821e9088c3ecba9dc82513b576688e15c7..f7aff174e6bf1ad036d0f59ff8d98033fef305c4 100644
--- a/net/log/test_net_log.h
+++ b/net/log/test_net_log.h
@@ -13,10 +13,14 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_with_source.h"
#include "net/log/test_net_log_entry.h"
namespace net {
+class NetLogCaptureMode;
+struct NetLogSource;
+
// TestNetLog is NetLog subclass which records all NetLog events that occur and
// their parameters. It is intended for testing only, and is part of the
// net_test_support project.
@@ -29,7 +33,7 @@ class TestNetLog : public NetLog {
// Below methods are forwarded to test_net_log_observer_.
void GetEntries(TestNetLogEntry::List* entry_list) const;
- void GetEntriesForSource(Source source,
+ void GetEntriesForSource(NetLogSource source,
TestNetLogEntry::List* entry_list) const;
size_t GetSize() const;
void Clear();
@@ -65,7 +69,7 @@ class BoundTestNetLog {
void GetEntries(TestNetLogEntry::List* entry_list) const;
// Fills |entry_list| with all entries in the log from the specified Source.
- void GetEntriesForSource(NetLog::Source source,
+ void GetEntriesForSource(NetLogSource source,
TestNetLogEntry::List* entry_list) const;
// Returns number of entries in the log.

Powered by Google App Engine
This is Rietveld 408576698