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

Side by Side Diff: content/renderer/media/rtc_certificate.cc

Issue 2033353002: Remove PeerConnectionIdentityStore and related messaging/storage code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delayed deletion by 120s Created 4 years, 5 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 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/rtc_certificate.h" 5 #include "content/renderer/media/rtc_certificate.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "content/renderer/media/peer_connection_identity_store.h"
9 #include "url/gurl.h" 8 #include "url/gurl.h"
10 9
11 namespace content { 10 namespace content {
12 11
13 RTCCertificate::RTCCertificate( 12 RTCCertificate::RTCCertificate(
14 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) 13 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate)
15 : certificate_(certificate) { 14 : certificate_(certificate) {
16 DCHECK(certificate_); 15 DCHECK(certificate_);
17 } 16 }
18 17
(...skipping 17 matching lines...) Expand all
36 return *certificate_ == 35 return *certificate_ ==
37 *static_cast<const RTCCertificate&>(other).certificate_; 36 *static_cast<const RTCCertificate&>(other).certificate_;
38 } 37 }
39 38
40 const rtc::scoped_refptr<rtc::RTCCertificate>& 39 const rtc::scoped_refptr<rtc::RTCCertificate>&
41 RTCCertificate::rtcCertificate() const { 40 RTCCertificate::rtcCertificate() const {
42 return certificate_; 41 return certificate_;
43 } 42 }
44 43
45 } // namespace content 44 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/peer_connection_identity_store.cc ('k') | content/renderer/media/webrtc_identity_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698