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 CSSValuePrefixedMinContent = 921, |
| 817 CSSValuePrefixedMaxContent = 922, |
| 818 CSSValuePrefixedFitContent = 923, |
| 819 CSSValuePrefixedFillAvailable = 924, |
816 | 820 |
817 // Add new features immediately above this line. Don't change assigned | 821 // Add new features immediately above this line. Don't change assigned |
818 // numbers of any item, and don't reuse removed slots. | 822 // 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/ | 823 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
820 // to update the UMA mapping. | 824 // to update the UMA mapping. |
821 NumberOfFeatures, // This enum value must be last. | 825 NumberOfFeatures, // This enum value must be last. |
822 }; | 826 }; |
823 | 827 |
824 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 828 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
825 static void count(const Frame*, Feature); | 829 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 913 |
910 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 914 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
911 | 915 |
912 CountBits m_countBits; | 916 CountBits m_countBits; |
913 BitVector m_CSSFeatureBits; | 917 BitVector m_CSSFeatureBits; |
914 }; | 918 }; |
915 | 919 |
916 } // namespace blink | 920 } // namespace blink |
917 | 921 |
918 #endif // UseCounter_h | 922 #endif // UseCounter_h |
OLD | NEW |