OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 AudioParamExponentialRampToValueAtTime = 911, | 806 AudioParamExponentialRampToValueAtTime = 911, |
807 AudioParamSetTargetAtTime = 912, | 807 AudioParamSetTargetAtTime = 912, |
808 AudioParamSetValueCurveAtTime = 913, | 808 AudioParamSetValueCurveAtTime = 913, |
809 AudioParamCancelScheduledValues = 914, | 809 AudioParamCancelScheduledValues = 914, |
810 V8Permissions_Request_Method = 915, | 810 V8Permissions_Request_Method = 915, |
811 LinkRelSubresource = 916, | 811 LinkRelSubresource = 916, |
812 LinkRelPrefetch = 917, | 812 LinkRelPrefetch = 917, |
813 LinkRelPrerender = 918, | 813 LinkRelPrerender = 918, |
814 LinkRelNext = 919, | 814 LinkRelNext = 919, |
815 PrefixedPerformanceResourceTimingBufferFull = 920, | 815 PrefixedPerformanceResourceTimingBufferFull = 920, |
| 816 PresentationDefaultRequest = 921, |
| 817 PresentationAvailabilityChangeEventListener = 922, |
| 818 PresentationRequestConstructor = 923, |
| 819 PresentationRequestStart = 924, |
| 820 PresentationRequestJoin = 925, |
| 821 PresentationRequestGetAvailability = 926, |
| 822 PresentationRequestSessionConnectEventListener = 927, |
| 823 PresentationSessionClose = 928, |
| 824 PresentationSessionSend = 929, |
| 825 PresentationSessionStateChangeEventListener = 930, |
| 826 PresentationSessionMessageEventListener = 931, |
816 | 827 |
817 // Add new features immediately above this line. Don't change assigned | 828 // Add new features immediately above this line. Don't change assigned |
818 // numbers of any item, and don't reuse removed slots. | 829 // numbers of any item, and don't reuse removed slots. |
819 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 830 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
820 // to update the UMA mapping. | 831 // to update the UMA mapping. |
821 NumberOfFeatures, // This enum value must be last. | 832 NumberOfFeatures, // This enum value must be last. |
822 }; | 833 }; |
823 | 834 |
824 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 835 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
825 static void count(const Frame*, Feature); | 836 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 920 |
910 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 921 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
911 | 922 |
912 CountBits m_countBits; | 923 CountBits m_countBits; |
913 BitVector m_CSSFeatureBits; | 924 BitVector m_CSSFeatureBits; |
914 }; | 925 }; |
915 | 926 |
916 } // namespace blink | 927 } // namespace blink |
917 | 928 |
918 #endif // UseCounter_h | 929 #endif // UseCounter_h |
OLD | NEW |