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

Unified Diff: net/quic/test_tools/quic_stream_factory_peer.h

Issue 2120703003: QUIC - Race Cert Verification with host resolution if certs are (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for buildbot failure. Created 4 years, 4 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/core/crypto/proof_verifier.h ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_stream_factory_peer.h
diff --git a/net/quic/test_tools/quic_stream_factory_peer.h b/net/quic/test_tools/quic_stream_factory_peer.h
index a18322172dff9abe2cdda91f3759a5422fe29fb9..2ccdc0408dca34faf73ffdeec26b27c6409149e3 100644
--- a/net/quic/test_tools/quic_stream_factory_peer.h
+++ b/net/quic/test_tools/quic_stream_factory_peer.h
@@ -12,6 +12,7 @@
#include "base/task_runner.h"
#include "net/base/host_port_pair.h"
#include "net/base/privacy_mode.h"
+#include "net/log/net_log.h"
#include "net/quic/core/quic_protocol.h"
#include "net/quic/core/quic_server_id.h"
#include "net/quic/core/quic_time.h"
@@ -36,6 +37,9 @@ class QuicStreamFactoryPeer {
static bool HasActiveSession(QuicStreamFactory* factory,
const QuicServerId& server_id);
+ static bool HasActiveCertVerifierJob(QuicStreamFactory* factory,
+ const QuicServerId& server_id);
+
static QuicChromiumClientSession* GetActiveSession(
QuicStreamFactory* factory,
const QuicServerId& server_id);
@@ -59,6 +63,16 @@ class QuicStreamFactoryPeer {
static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race);
+ static bool GetRaceCertVerification(QuicStreamFactory* factory);
+
+ static void SetRaceCertVerification(QuicStreamFactory* factory,
+ bool race_cert_verification);
+
+ static QuicAsyncStatus StartCertVerifyJob(QuicStreamFactory* factory,
+ const QuicServerId& server_id,
+ int cert_verify_flags,
+ const BoundNetLog& net_log);
+
static void SetYieldAfterPackets(QuicStreamFactory* factory,
int yield_after_packets);
« no previous file with comments | « net/quic/core/crypto/proof_verifier.h ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698