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

Unified Diff: net/tools/quic/quic_client.h

Issue 346853003: Added SetUserAgentID method to QuicClient which calls crypto_config_'s (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 313ba9cd7a83e17fdc51ca6c97e203526b8f2469..834215f38de1f0949d9046f6ca2421a48137adb1 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -146,6 +146,10 @@ class QuicClient : public EpollCallbackInterface,
server_id_ = server_id;
}
+ void SetUserAgentID(string user_agent_id) {
wtc 2014/06/19 22:06:38 The input parameter should be a const reference.
ramant (doing other things) 2014/06/19 22:22:41 Done.
+ crypto_config_.set_user_agent_id(user_agent_id);
+ }
+
// SetProofVerifier sets the ProofVerifier that will be used to verify the
// server's certificate and takes ownership of |verifier|.
void SetProofVerifier(ProofVerifier* verifier) {
« no previous file with comments | « no previous file | net/tools/quic/test_tools/quic_test_client.h » ('j') | net/tools/quic/test_tools/quic_test_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698