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

Unified Diff: net/log/test_net_log.cc

Issue 1109473003: Get rid of TestNetLog::CapturedEntry[List] typedefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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.cc
diff --git a/net/log/test_net_log.cc b/net/log/test_net_log.cc
index a25d05d93044e57c624d06aec09856f6556d1664..2c38b2f52ab85edaf6ab74d9cee6ade29a84bbdc 100644
--- a/net/log/test_net_log.cc
+++ b/net/log/test_net_log.cc
@@ -19,12 +19,13 @@ void TestNetLog::SetCaptureMode(NetLogCaptureMode capture_mode) {
SetObserverCaptureMode(&capturing_net_log_observer_, capture_mode);
}
-void TestNetLog::GetEntries(TestNetLog::CapturedEntryList* entry_list) const {
+void TestNetLog::GetEntries(CapturedNetLogEntry::List* entry_list) const {
capturing_net_log_observer_.GetEntries(entry_list);
}
-void TestNetLog::GetEntriesForSource(NetLog::Source source,
- CapturedEntryList* entry_list) const {
+void TestNetLog::GetEntriesForSource(
+ NetLog::Source source,
+ CapturedNetLogEntry::List* entry_list) const {
capturing_net_log_observer_.GetEntriesForSource(source, entry_list);
}
@@ -43,14 +44,13 @@ BoundTestNetLog::BoundTestNetLog()
BoundTestNetLog::~BoundTestNetLog() {
}
-void BoundTestNetLog::GetEntries(
- TestNetLog::CapturedEntryList* entry_list) const {
+void BoundTestNetLog::GetEntries(CapturedNetLogEntry::List* entry_list) const {
capturing_net_log_.GetEntries(entry_list);
}
void BoundTestNetLog::GetEntriesForSource(
NetLog::Source source,
- TestNetLog::CapturedEntryList* entry_list) const {
+ CapturedNetLogEntry::List* entry_list) const {
capturing_net_log_.GetEntriesForSource(source, entry_list);
}

Powered by Google App Engine
This is Rietveld 408576698