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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 FlexboxPercentagePaddingVertical = 955, | 831 FlexboxPercentagePaddingVertical = 955, |
832 FlexboxPercentageMarginVertical = 956, | 832 FlexboxPercentageMarginVertical = 956, |
833 BackspaceNavigatedBack = 957, | 833 BackspaceNavigatedBack = 957, |
834 BackspaceNavigatedBackAfterFormInteraction = 958, | 834 BackspaceNavigatedBackAfterFormInteraction = 958, |
835 CSPSourceWildcardWouldMatchExactHost = 959, | 835 CSPSourceWildcardWouldMatchExactHost = 959, |
836 CredentialManagerGet = 959, | 836 CredentialManagerGet = 959, |
837 CredentialManagerGetWithUI = 960, | 837 CredentialManagerGetWithUI = 960, |
838 CredentialManagerGetWithoutUI = 961, | 838 CredentialManagerGetWithoutUI = 961, |
839 CredentialManagerStore = 962, | 839 CredentialManagerStore = 962, |
840 CredentialManagerRequireUserMediation = 963, | 840 CredentialManagerRequireUserMediation = 963, |
| 841 AudioContextCreateIIRFilter = 964, |
841 | 842 |
842 // Add new features immediately above this line. Don't change assigned | 843 // Add new features immediately above this line. Don't change assigned |
843 // numbers of any item, and don't reuse removed slots. | 844 // numbers of any item, and don't reuse removed slots. |
844 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 845 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
845 // to update the UMA mapping. | 846 // to update the UMA mapping. |
846 NumberOfFeatures, // This enum value must be last. | 847 NumberOfFeatures, // This enum value must be last. |
847 }; | 848 }; |
848 | 849 |
849 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 850 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
850 static void count(const Frame*, Feature); | 851 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 | 936 |
936 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 937 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
937 | 938 |
938 CountBits m_countBits; | 939 CountBits m_countBits; |
939 BitVector m_CSSFeatureBits; | 940 BitVector m_CSSFeatureBits; |
940 }; | 941 }; |
941 | 942 |
942 } // namespace blink | 943 } // namespace blink |
943 | 944 |
944 #endif // UseCounter_h | 945 #endif // UseCounter_h |
OLD | NEW |