| OLD | NEW |
| 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_generator.h" | 5 #include "content/renderer/media/rtc_certificate_generator.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/macros.h" |
| 9 #include "content/renderer/media/peer_connection_identity_store.h" | 10 #include "content/renderer/media/peer_connection_identity_store.h" |
| 10 #include "content/renderer/media/rtc_certificate.h" | 11 #include "content/renderer/media/rtc_certificate.h" |
| 11 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" | 12 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
| 12 #include "content/renderer/render_thread_impl.h" | 13 #include "content/renderer/render_thread_impl.h" |
| 13 #include "third_party/webrtc/base/rtccertificate.h" | 14 #include "third_party/webrtc/base/rtccertificate.h" |
| 14 #include "third_party/webrtc/base/scoped_ref_ptr.h" | 15 #include "third_party/webrtc/base/scoped_ref_ptr.h" |
| 15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 namespace { | 19 namespace { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 observer->onError(); | 160 observer->onError(); |
| 160 #endif | 161 #endif |
| 161 } | 162 } |
| 162 | 163 |
| 163 bool RTCCertificateGenerator::isSupportedKeyParams( | 164 bool RTCCertificateGenerator::isSupportedKeyParams( |
| 164 const blink::WebRTCKeyParams& key_params) { | 165 const blink::WebRTCKeyParams& key_params) { |
| 165 return WebRTCKeyParamsToKeyParams(key_params).IsValid(); | 166 return WebRTCKeyParamsToKeyParams(key_params).IsValid(); |
| 166 } | 167 } |
| 167 | 168 |
| 168 } // namespace content | 169 } // namespace content |
| OLD | NEW |