| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "core/frame/HostsUsingFeatures.h" | 5 #include "core/frame/HostsUsingFeatures.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptState.h" | 7 #include "bindings/core/v8/ScriptState.h" |
| 8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 9 #include "core/frame/LocalDOMWindow.h" | 9 #include "core/frame/LocalDOMWindow.h" |
| 10 #include "core/page/Page.h" | 10 #include "core/page/Page.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 "PowerfulFeatureUse.ETLDPlus1.GetUserMedia.Secure", WebURL(url)); | 195 "PowerfulFeatureUse.ETLDPlus1.GetUserMedia.Secure", WebURL(url)); |
| 196 if (get(Feature::RTCPeerConnectionAudio)) | 196 if (get(Feature::RTCPeerConnectionAudio)) |
| 197 Platform::current()->recordRapporURL("RTCPeerConnection.Audio", | 197 Platform::current()->recordRapporURL("RTCPeerConnection.Audio", |
| 198 WebURL(url)); | 198 WebURL(url)); |
| 199 if (get(Feature::RTCPeerConnectionVideo)) | 199 if (get(Feature::RTCPeerConnectionVideo)) |
| 200 Platform::current()->recordRapporURL("RTCPeerConnection.Video", | 200 Platform::current()->recordRapporURL("RTCPeerConnection.Video", |
| 201 WebURL(url)); | 201 WebURL(url)); |
| 202 if (get(Feature::RTCPeerConnectionDataChannel)) | 202 if (get(Feature::RTCPeerConnectionDataChannel)) |
| 203 Platform::current()->recordRapporURL("RTCPeerConnection.DataChannel", | 203 Platform::current()->recordRapporURL("RTCPeerConnection.DataChannel", |
| 204 WebURL(url)); | 204 WebURL(url)); |
| 205 if (get(Feature::RTCPeerConnectionUsed) && |
| 206 !get(Feature::RTCPeerConnectionAudio) && |
| 207 !get(Feature::RTCPeerConnectionVideo) && |
| 208 !get(Feature::RTCPeerConnectionDataChannel)) { |
| 209 Platform::current()->recordRapporURL("RTCPeerConnection.Unconnected", |
| 210 WebURL(url)); |
| 211 } |
| 205 } | 212 } |
| 206 | 213 |
| 207 } // namespace blink | 214 } // namespace blink |
| OLD | NEW |