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

Side by Side Diff: webrtc/base/opensslstreamadapter.h

Issue 1981463002: Change initial DTLS retransmission timer from 1 second to 50ms. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing typo in comment. Created 4 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 unified diff | Download patch
« no previous file with comments | « webrtc/base/logging.cc ('k') | webrtc/base/opensslstreamadapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 size_t result_len) override; 104 size_t result_len) override;
105 105
106 // DTLS-SRTP interface 106 // DTLS-SRTP interface
107 bool SetDtlsSrtpCryptoSuites(const std::vector<int>& crypto_suites) override; 107 bool SetDtlsSrtpCryptoSuites(const std::vector<int>& crypto_suites) override;
108 bool GetDtlsSrtpCryptoSuite(int* crypto_suite) override; 108 bool GetDtlsSrtpCryptoSuite(int* crypto_suite) override;
109 109
110 // Capabilities interfaces 110 // Capabilities interfaces
111 static bool HaveDtls(); 111 static bool HaveDtls();
112 static bool HaveDtlsSrtp(); 112 static bool HaveDtlsSrtp();
113 static bool HaveExporter(); 113 static bool HaveExporter();
114 static bool IsBoringSsl();
114 115
115 static bool IsAcceptableCipher(int cipher, KeyType key_type); 116 static bool IsAcceptableCipher(int cipher, KeyType key_type);
116 static bool IsAcceptableCipher(const std::string& cipher, KeyType key_type); 117 static bool IsAcceptableCipher(const std::string& cipher, KeyType key_type);
117 118
118 protected: 119 protected:
119 void OnEvent(StreamInterface* stream, int events, int err) override; 120 void OnEvent(StreamInterface* stream, int events, int err) override;
120 121
121 private: 122 private:
122 enum SSLState { 123 enum SSLState {
123 // Before calling one of the StartSSL methods, data flows 124 // Before calling one of the StartSSL methods, data flows
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 // Max. allowed protocol version 210 // Max. allowed protocol version
210 SSLProtocolVersion ssl_max_version_; 211 SSLProtocolVersion ssl_max_version_;
211 }; 212 };
212 213
213 ///////////////////////////////////////////////////////////////////////////// 214 /////////////////////////////////////////////////////////////////////////////
214 215
215 } // namespace rtc 216 } // namespace rtc
216 217
217 #endif // WEBRTC_BASE_OPENSSLSTREAMADAPTER_H__ 218 #endif // WEBRTC_BASE_OPENSSLSTREAMADAPTER_H__
OLDNEW
« no previous file with comments | « webrtc/base/logging.cc ('k') | webrtc/base/opensslstreamadapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698