| 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 "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/frame/LocalDOMWindow.h" | 10 #include "core/frame/LocalDOMWindow.h" |
| 11 #include "core/page/Page.h" | 11 #include "core/page/Page.h" |
| 12 #include "public/platform/Platform.h" | 12 #include "public/platform/Platform.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 HostsUsingFeatures::~HostsUsingFeatures() { | 16 HostsUsingFeatures::~HostsUsingFeatures() { |
| 17 UpdateMeasurementsAndClear(); | 17 UpdateMeasurementsAndClear(); |
| 18 } | 18 } |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 if (Get(Feature::kRTCPeerConnectionUsed) && | 207 if (Get(Feature::kRTCPeerConnectionUsed) && |
| 208 !Get(Feature::kRTCPeerConnectionAudio) && | 208 !Get(Feature::kRTCPeerConnectionAudio) && |
| 209 !Get(Feature::kRTCPeerConnectionVideo) && | 209 !Get(Feature::kRTCPeerConnectionVideo) && |
| 210 !Get(Feature::kRTCPeerConnectionDataChannel)) { | 210 !Get(Feature::kRTCPeerConnectionDataChannel)) { |
| 211 Platform::Current()->RecordRapporURL("RTCPeerConnection.Unconnected", | 211 Platform::Current()->RecordRapporURL("RTCPeerConnection.Unconnected", |
| 212 WebURL(url)); | 212 WebURL(url)); |
| 213 } | 213 } |
| 214 } | 214 } |
| 215 | 215 |
| 216 } // namespace blink | 216 } // namespace blink |
| OLD | NEW |