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

Side by Side Diff: webrtc/api/peerconnectionfactory.cc

Issue 1766673002: DtlsIdentityStoreInterface::RequestIdentity: const& parameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Corrected a misspelling Created 4 years, 9 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 28 matching lines...) Expand all
39 class DtlsIdentityStoreWrapper : public DtlsIdentityStoreInterface { 39 class DtlsIdentityStoreWrapper : public DtlsIdentityStoreInterface {
40 public: 40 public:
41 DtlsIdentityStoreWrapper( 41 DtlsIdentityStoreWrapper(
42 const rtc::scoped_refptr<RefCountedDtlsIdentityStore>& store) 42 const rtc::scoped_refptr<RefCountedDtlsIdentityStore>& store)
43 : store_(store) { 43 : store_(store) {
44 RTC_DCHECK(store_); 44 RTC_DCHECK(store_);
45 } 45 }
46 46
47 void RequestIdentity( 47 void RequestIdentity(
48 rtc::KeyParams key_params, 48 rtc::KeyParams key_params,
49 rtc::Optional<uint64_t> expires, 49 const rtc::Optional<uint64_t>& expires_ms,
50 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& 50 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>&
51 observer) override { 51 observer) override {
52 store_->RequestIdentity(key_params, expires, observer); 52 store_->RequestIdentity(key_params, expires_ms, observer);
53 } 53 }
54 54
55 private: 55 private:
56 rtc::scoped_refptr<RefCountedDtlsIdentityStore> store_; 56 rtc::scoped_refptr<RefCountedDtlsIdentityStore> store_;
57 }; 57 };
58 58
59 } // anonymous namespace 59 } // anonymous namespace
60 60
61 rtc::scoped_refptr<PeerConnectionFactoryInterface> 61 rtc::scoped_refptr<PeerConnectionFactoryInterface>
62 CreatePeerConnectionFactory() { 62 CreatePeerConnectionFactory() {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 } 306 }
307 307
308 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { 308 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() {
309 ASSERT(worker_thread_ == rtc::Thread::Current()); 309 ASSERT(worker_thread_ == rtc::Thread::Current());
310 return cricket::WebRtcMediaEngineFactory::Create( 310 return cricket::WebRtcMediaEngineFactory::Create(
311 default_adm_.get(), video_encoder_factory_.get(), 311 default_adm_.get(), video_encoder_factory_.get(),
312 video_decoder_factory_.get()); 312 video_decoder_factory_.get());
313 } 313 }
314 314
315 } // namespace webrtc 315 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698