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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 346323002: net: Implement ChannelIDSourceChromium, which is based on Chromium's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase Created 6 years, 6 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/quic/quic_stream_factory.cc ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory_test.cc
===================================================================
--- net/quic/quic_stream_factory_test.cc (revision 280648)
+++ net/quic/quic_stream_factory_test.cc (working copy)
@@ -24,6 +24,7 @@
#include "net/quic/test_tools/quic_test_packet_maker.h"
#include "net/quic/test_tools/quic_test_utils.h"
#include "net/socket/socket_test_util.h"
+#include "net/ssl/default_server_bound_cert_store.h"
#include "net/test/cert_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -89,8 +90,12 @@
maker_(GetParam(), 0),
clock_(new MockClock()),
cert_verifier_(CertVerifier::CreateDefault()),
+ server_bound_cert_service_(new ServerBoundCertService(
+ new DefaultServerBoundCertStore(NULL),
+ base::MessageLoopProxy::current())),
factory_(&host_resolver_, &socket_factory_,
base::WeakPtr<HttpServerProperties>(), cert_verifier_.get(),
+ server_bound_cert_service_.get(),
&crypto_client_stream_factory_, &random_generator_, clock_,
kDefaultMaxPacketSize, std::string(),
SupportedVersions(GetParam()), true, true, true,
@@ -182,6 +187,7 @@
QuicTestPacketMaker maker_;
MockClock* clock_; // Owned by factory_.
scoped_ptr<CertVerifier> cert_verifier_;
+ scoped_ptr<ServerBoundCertService> server_bound_cert_service_;
QuicStreamFactory factory_;
HostPortPair host_port_pair_;
bool is_https_;
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698