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

Unified Diff: net/quic/quic_client_session_test.cc

Issue 12207020: Enhance net internals/net log output for QUIC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 7 years, 10 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/quic/quic_client_session_test.cc
diff --git a/net/quic/quic_client_session_test.cc b/net/quic/quic_client_session_test.cc
index 4d5b7950ea1f00e589058fe54cc2f13438ff5439..247b37ea30738799f42d57a8a9d795367a898b98 100644
--- a/net/quic/quic_client_session_test.cc
+++ b/net/quic/quic_client_session_test.cc
@@ -7,6 +7,7 @@
#include <vector>
#include "base/stl_util.h"
+#include "net/base/capturing_net_log.h"
#include "net/base/test_completion_callback.h"
#include "net/quic/crypto/crypto_protocol.h"
#include "net/quic/test_tools/quic_test_utils.h"
@@ -24,11 +25,12 @@ class QuicClientSessionTest : public ::testing::Test {
QuicClientSessionTest()
: guid_(1),
connection_(new PacketSavingConnection(guid_, IPEndPoint())),
- session_(connection_, NULL, NULL, kServerHostname) {
+ session_(connection_, NULL, NULL, kServerHostname, &net_log_) {
eroman 2013/02/05 23:52:40 You can also safely pass in NULL if you like.
Ryan Hamilton 2013/02/06 16:40:15 Done.
}
QuicGuid guid_;
PacketSavingConnection* connection_;
+ CapturingNetLog net_log_;
QuicClientSession session_;
QuicConnectionVisitorInterface* visitor_;
TestCompletionCallback callback_;

Powered by Google App Engine
This is Rietveld 408576698