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

Side by Side Diff: talk/app/webrtc/webrtcsession.h

Issue 1288033009: RTCCertificates added to RTCConfiguration, used by WebRtcSession/-DescriptionFactory (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed torbjorng's comment and merged with master Created 5 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 unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/test/fakedtlsidentitystore.h ('k') | talk/app/webrtc/webrtcsession.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 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool IceRestartPending() const; 245 bool IceRestartPending() const;
246 246
247 void ResetIceRestartLatch(); 247 void ResetIceRestartLatch();
248 248
249 // Called when an SSLIdentity is generated or retrieved by 249 // Called when an SSLIdentity is generated or retrieved by
250 // WebRTCSessionDescriptionFactory. Should happen before setLocalDescription. 250 // WebRTCSessionDescriptionFactory. Should happen before setLocalDescription.
251 void OnIdentityReady(rtc::SSLIdentity* identity); 251 void OnIdentityReady(rtc::SSLIdentity* identity);
252 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp); 252 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp);
253 253
254 // For unit test. 254 // For unit test.
255 bool waiting_for_identity() const; 255 bool waiting_for_identity_for_testing() const;
256 256
257 void set_metrics_observer( 257 void set_metrics_observer(
258 webrtc::MetricsObserverInterface* metrics_observer) { 258 webrtc::MetricsObserverInterface* metrics_observer) {
259 metrics_observer_ = metrics_observer; 259 metrics_observer_ = metrics_observer;
260 } 260 }
261 261
262 private: 262 private:
263 // Indicates the type of SessionDescription in a call to SetLocalDescription 263 // Indicates the type of SessionDescription in a call to SetLocalDescription
264 // and SetRemoteDescription. 264 // and SetRemoteDescription.
265 enum Action { 265 enum Action {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 PeerConnectionInterface::BundlePolicy bundle_policy_; 410 PeerConnectionInterface::BundlePolicy bundle_policy_;
411 411
412 // Declares the RTCP mux policy for the WebRTCSession. 412 // Declares the RTCP mux policy for the WebRTCSession.
413 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 413 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
414 414
415 DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 415 DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
416 }; 416 };
417 } // namespace webrtc 417 } // namespace webrtc
418 418
419 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ 419 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/test/fakedtlsidentitystore.h ('k') | talk/app/webrtc/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698