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

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

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // part of the RFC defining each exporter 143 // part of the RFC defining each exporter
144 // usage (IN) 144 // usage (IN)
145 // context/context_len -- a context to bind to for this connection; 145 // context/context_len -- a context to bind to for this connection;
146 // optional, can be NULL, 0 (IN) 146 // optional, can be NULL, 0 (IN)
147 // use_context -- whether to use the context value 147 // use_context -- whether to use the context value
148 // (needed to distinguish no context from 148 // (needed to distinguish no context from
149 // zero-length ones). 149 // zero-length ones).
150 // result -- where to put the computed value 150 // result -- where to put the computed value
151 // result_len -- the length of the computed value 151 // result_len -- the length of the computed value
152 virtual bool ExportKeyingMaterial(const std::string& label, 152 virtual bool ExportKeyingMaterial(const std::string& label,
153 const uint8* context, 153 const uint8_t* context,
154 size_t context_len, 154 size_t context_len,
155 bool use_context, 155 bool use_context,
156 uint8* result, 156 uint8_t* result,
157 size_t result_len); 157 size_t result_len);
158 158
159 // DTLS-SRTP interface 159 // DTLS-SRTP interface
160 virtual bool SetDtlsSrtpCiphers(const std::vector<std::string>& ciphers); 160 virtual bool SetDtlsSrtpCiphers(const std::vector<std::string>& ciphers);
161 virtual bool GetDtlsSrtpCipher(std::string* cipher); 161 virtual bool GetDtlsSrtpCipher(std::string* cipher);
162 162
163 // Capabilities testing 163 // Capabilities testing
164 static bool HaveDtls(); 164 static bool HaveDtls();
165 static bool HaveDtlsSrtp(); 165 static bool HaveDtlsSrtp();
166 static bool HaveExporter(); 166 static bool HaveExporter();
(...skipping 12 matching lines...) Expand all
179 179
180 // If true (default), the client is required to provide a certificate during 180 // If true (default), the client is required to provide a certificate during
181 // handshake. If no certificate is given, handshake fails. This applies to 181 // handshake. If no certificate is given, handshake fails. This applies to
182 // server mode only. 182 // server mode only.
183 bool client_auth_enabled_; 183 bool client_auth_enabled_;
184 }; 184 };
185 185
186 } // namespace rtc 186 } // namespace rtc
187 187
188 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_ 188 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698