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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 RTCPeerConnectionCreateAnswerLegacyFailureCallback = 1049, | 907 RTCPeerConnectionCreateAnswerLegacyFailureCallback = 1049, |
908 RTCPeerConnectionCreateAnswerLegacyConstraints = 1050, | 908 RTCPeerConnectionCreateAnswerLegacyConstraints = 1050, |
909 RTCPeerConnectionCreateAnswerLegacyCompliant = 1051, | 909 RTCPeerConnectionCreateAnswerLegacyCompliant = 1051, |
910 RTCPeerConnectionSetLocalDescriptionLegacyNoSuccessCallback = 1052, | 910 RTCPeerConnectionSetLocalDescriptionLegacyNoSuccessCallback = 1052, |
911 RTCPeerConnectionSetLocalDescriptionLegacyNoFailureCallback = 1053, | 911 RTCPeerConnectionSetLocalDescriptionLegacyNoFailureCallback = 1053, |
912 RTCPeerConnectionSetLocalDescriptionLegacyCompliant = 1054, | 912 RTCPeerConnectionSetLocalDescriptionLegacyCompliant = 1054, |
913 RTCPeerConnectionSetRemoteDescriptionLegacyNoSuccessCallback = 1055, | 913 RTCPeerConnectionSetRemoteDescriptionLegacyNoSuccessCallback = 1055, |
914 RTCPeerConnectionSetRemoteDescriptionLegacyNoFailureCallback = 1056, | 914 RTCPeerConnectionSetRemoteDescriptionLegacyNoFailureCallback = 1056, |
915 RTCPeerConnectionSetRemoteDescriptionLegacyCompliant = 1057, | 915 RTCPeerConnectionSetRemoteDescriptionLegacyCompliant = 1057, |
916 RTCPeerConnectionGetStatsLegacyNonCompliant = 1058, | 916 RTCPeerConnectionGetStatsLegacyNonCompliant = 1058, |
| 917 NodeFilterIsFunction = 1059, |
| 918 NodeFilterIsObject = 1060, |
917 | 919 |
918 // Add new features immediately above this line. Don't change assigned | 920 // Add new features immediately above this line. Don't change assigned |
919 // numbers of any item, and don't reuse removed slots. | 921 // numbers of any item, and don't reuse removed slots. |
920 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 922 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
921 // to update the UMA mapping. | 923 // to update the UMA mapping. |
922 NumberOfFeatures, // This enum value must be last. | 924 NumberOfFeatures, // This enum value must be last. |
923 }; | 925 }; |
924 | 926 |
925 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 927 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
926 static void count(const Frame*, Feature); | 928 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 | 1013 |
1012 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1014 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1013 | 1015 |
1014 CountBits m_countBits; | 1016 CountBits m_countBits; |
1015 BitVector m_CSSFeatureBits; | 1017 BitVector m_CSSFeatureBits; |
1016 }; | 1018 }; |
1017 | 1019 |
1018 } // namespace blink | 1020 } // namespace blink |
1019 | 1021 |
1020 #endif // UseCounter_h | 1022 #endif // UseCounter_h |
OLD | NEW |