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 #ifndef HostsUsingFeatures_h | 5 #ifndef HostsUsingFeatures_h |
6 #define HostsUsingFeatures_h | 6 #define HostsUsingFeatures_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "platform/weborigin/KURL.h" | 10 #include "platform/weborigin/KURL.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 EventPath, | 31 EventPath, |
32 DeviceMotionInsecureHost, | 32 DeviceMotionInsecureHost, |
33 DeviceOrientationInsecureHost, | 33 DeviceOrientationInsecureHost, |
34 FullscreenInsecureHost, | 34 FullscreenInsecureHost, |
35 GeolocationInsecureHost, | 35 GeolocationInsecureHost, |
36 GetUserMediaInsecureHost, | 36 GetUserMediaInsecureHost, |
37 GetUserMediaSecureHost, | 37 GetUserMediaSecureHost, |
38 ElementAttachShadow, | 38 ElementAttachShadow, |
39 ApplicationCacheManifestSelectInsecureHost, | 39 ApplicationCacheManifestSelectInsecureHost, |
40 ApplicationCacheAPIInsecureHost, | 40 ApplicationCacheAPIInsecureHost, |
| 41 RTCPeerConnectionAudio, |
| 42 RTCPeerConnectionVideo, |
| 43 RTCPeerConnectionDataChannel, |
41 | 44 |
42 NumberOfFeatures // This must be the last item. | 45 NumberOfFeatures // This must be the last item. |
43 }; | 46 }; |
44 | 47 |
45 static void countAnyWorld(Document&, Feature); | 48 static void countAnyWorld(Document&, Feature); |
46 static void countMainWorldOnly(const ScriptState*, Document&, Feature); | 49 static void countMainWorldOnly(const ScriptState*, Document&, Feature); |
47 static void countHostOrIsolatedWorldHumanReadableName(const ScriptState*, Ev
entTarget&, Feature); | 50 static void countHostOrIsolatedWorldHumanReadableName(const ScriptState*, Ev
entTarget&, Feature); |
48 | 51 |
49 void documentDetached(Document&); | 52 void documentDetached(Document&); |
50 void updateMeasurementsAndClear(); | 53 void updateMeasurementsAndClear(); |
(...skipping 27 matching lines...) Expand all Loading... |
78 void recordNamesToRappor(); | 81 void recordNamesToRappor(); |
79 void recordETLDPlus1ToRappor(); | 82 void recordETLDPlus1ToRappor(); |
80 | 83 |
81 Vector<std::pair<KURL, HostsUsingFeatures::Value>, 1> m_urlAndValues; | 84 Vector<std::pair<KURL, HostsUsingFeatures::Value>, 1> m_urlAndValues; |
82 HashMap<String, HostsUsingFeatures::Value> m_valueByName; | 85 HashMap<String, HostsUsingFeatures::Value> m_valueByName; |
83 }; | 86 }; |
84 | 87 |
85 } // namespace blink | 88 } // namespace blink |
86 | 89 |
87 #endif // HostsUsingFeatures_h | 90 #endif // HostsUsingFeatures_h |
OLD | NEW |