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 "bindings/core/v8/V8Binding.h" |
8 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
9 #include "core/frame/LocalDOMWindow.h" | 10 #include "core/frame/LocalDOMWindow.h" |
10 #include "core/page/Page.h" | 11 #include "core/page/Page.h" |
11 #include "public/platform/Platform.h" | 12 #include "public/platform/Platform.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 HostsUsingFeatures::~HostsUsingFeatures() { | 16 HostsUsingFeatures::~HostsUsingFeatures() { |
16 updateMeasurementsAndClear(); | 17 updateMeasurementsAndClear(); |
17 } | 18 } |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 if (get(Feature::RTCPeerConnectionUsed) && | 206 if (get(Feature::RTCPeerConnectionUsed) && |
206 !get(Feature::RTCPeerConnectionAudio) && | 207 !get(Feature::RTCPeerConnectionAudio) && |
207 !get(Feature::RTCPeerConnectionVideo) && | 208 !get(Feature::RTCPeerConnectionVideo) && |
208 !get(Feature::RTCPeerConnectionDataChannel)) { | 209 !get(Feature::RTCPeerConnectionDataChannel)) { |
209 Platform::current()->recordRapporURL("RTCPeerConnection.Unconnected", | 210 Platform::current()->recordRapporURL("RTCPeerConnection.Unconnected", |
210 WebURL(url)); | 211 WebURL(url)); |
211 } | 212 } |
212 } | 213 } |
213 | 214 |
214 } // namespace blink | 215 } // namespace blink |
OLD | NEW |