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

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

Issue 1350523003: TransportController refactoring. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing Mac test. 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 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // This class is used to create offer/answer session description with regards to 84 // This class is used to create offer/answer session description with regards to
85 // the async DTLS identity generation for WebRtcSession. 85 // the async DTLS identity generation for WebRtcSession.
86 // It queues the create offer/answer request until the DTLS identity 86 // It queues the create offer/answer request until the DTLS identity
87 // request has completed, i.e. when OnIdentityRequestFailed or OnIdentityReady 87 // request has completed, i.e. when OnIdentityRequestFailed or OnIdentityReady
88 // is called. 88 // is called.
89 class WebRtcSessionDescriptionFactory : public rtc::MessageHandler, 89 class WebRtcSessionDescriptionFactory : public rtc::MessageHandler,
90 public sigslot::has_slots<> { 90 public sigslot::has_slots<> {
91 public: 91 public:
92 // Construct with DTLS disabled. 92 // Construct with DTLS disabled.
93 WebRtcSessionDescriptionFactory( 93 WebRtcSessionDescriptionFactory(rtc::Thread* signaling_thread,
94 rtc::Thread* signaling_thread, 94 cricket::ChannelManager* channel_manager,
95 cricket::ChannelManager* channel_manager, 95 MediaStreamSignaling* mediastream_signaling,
96 MediaStreamSignaling* mediastream_signaling, 96 WebRtcSession* session,
97 WebRtcSession* session, 97 const std::string& session_id,
98 const std::string& session_id, 98 cricket::DataChannelType dct);
99 cricket::DataChannelType dct);
100 99
101 // Construct with DTLS enabled using the specified |dtls_identity_store| to 100 // Construct with DTLS enabled using the specified |dtls_identity_store| to
102 // generate a certificate. 101 // generate a certificate.
103 WebRtcSessionDescriptionFactory( 102 WebRtcSessionDescriptionFactory(
104 rtc::Thread* signaling_thread, 103 rtc::Thread* signaling_thread,
105 cricket::ChannelManager* channel_manager, 104 cricket::ChannelManager* channel_manager,
106 MediaStreamSignaling* mediastream_signaling, 105 MediaStreamSignaling* mediastream_signaling,
107 rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, 106 rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store,
108 WebRtcSession* session, 107 WebRtcSession* session,
109 const std::string& session_id, 108 const std::string& session_id,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 WebRtcSession* const session_; 194 WebRtcSession* const session_;
196 const std::string session_id_; 195 const std::string session_id_;
197 const cricket::DataChannelType data_channel_type_; 196 const cricket::DataChannelType data_channel_type_;
198 CertificateRequestState certificate_request_state_; 197 CertificateRequestState certificate_request_state_;
199 198
200 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSessionDescriptionFactory); 199 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSessionDescriptionFactory);
201 }; 200 };
202 } // namespace webrtc 201 } // namespace webrtc
203 202
204 #endif // TALK_APP_WEBRTC_WEBRTCSESSIONDESCRIPTIONFACTORY_H_ 203 #endif // TALK_APP_WEBRTC_WEBRTCSESSIONDESCRIPTIONFACTORY_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | talk/app/webrtc/webrtcsessiondescriptionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698