Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/WebKit/Source/core/frame/HostsUsingFeatures.h

Issue 2095643002: Add RTCPeerConnection RAPPOR metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: record metrics only for connected PCs Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/HostsUsingFeatures.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/HostsUsingFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698