| 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 "config.h" | |
| 6 #include "core/frame/OriginsUsingFeatures.h" | 5 #include "core/frame/OriginsUsingFeatures.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ScriptState.h" | 7 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 10 #include "core/page/Page.h" | 9 #include "core/page/Page.h" |
| 11 #include "public/platform/Platform.h" | 10 #include "public/platform/Platform.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 OriginsUsingFeatures::~OriginsUsingFeatures() | 14 OriginsUsingFeatures::~OriginsUsingFeatures() |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 Platform::current()->recordRappor("PowerfulFeatureUse.Host.GetUserMedia.
Secure", origin); | 160 Platform::current()->recordRappor("PowerfulFeatureUse.Host.GetUserMedia.
Secure", origin); |
| 162 } | 161 } |
| 163 | 162 |
| 164 void OriginsUsingFeatures::Value::recordNameToRappor(const String& name) | 163 void OriginsUsingFeatures::Value::recordNameToRappor(const String& name) |
| 165 { | 164 { |
| 166 if (get(Feature::EventPath)) | 165 if (get(Feature::EventPath)) |
| 167 Platform::current()->recordRappor("WebComponents.EventPath.Extensions",
name); | 166 Platform::current()->recordRappor("WebComponents.EventPath.Extensions",
name); |
| 168 } | 167 } |
| 169 | 168 |
| 170 } // namespace blink | 169 } // namespace blink |
| OLD | NEW |