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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
825 PresentationRequestJoin = 930, | 825 PresentationRequestJoin = 930, |
826 PresentationRequestGetAvailability = 931, | 826 PresentationRequestGetAvailability = 931, |
827 PresentationRequestSessionConnectEventListener = 932, | 827 PresentationRequestSessionConnectEventListener = 932, |
828 PresentationSessionClose = 933, | 828 PresentationSessionClose = 933, |
829 PresentationSessionSend = 934, | 829 PresentationSessionSend = 934, |
830 PresentationSessionStateChangeEventListener = 935, | 830 PresentationSessionStateChangeEventListener = 935, |
831 PresentationSessionMessageEventListener = 936, | 831 PresentationSessionMessageEventListener = 936, |
832 CSSAnimationsStackedNeutralKeyframe = 937, | 832 CSSAnimationsStackedNeutralKeyframe = 937, |
833 ReadingCheckedInClickHandler = 938, | 833 ReadingCheckedInClickHandler = 938, |
834 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939, | 834 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939, |
835 FetchHeaderValue = 940, | |
hiroshige
2015/08/27 11:38:08
FetchHeaderValue looks too general.
How about some
shiva.jm
2015/09/01 08:26:51
Done.
| |
835 | 836 |
836 // Add new features immediately above this line. Don't change assigned | 837 // Add new features immediately above this line. Don't change assigned |
837 // numbers of any item, and don't reuse removed slots. | 838 // numbers of any item, and don't reuse removed slots. |
838 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ | 839 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ |
839 // to update the UMA mapping. | 840 // to update the UMA mapping. |
840 NumberOfFeatures, // This enum value must be last. | 841 NumberOfFeatures, // This enum value must be last. |
841 }; | 842 }; |
842 | 843 |
843 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 844 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
844 static void count(const Frame*, Feature); | 845 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
928 | 929 |
929 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } | 930 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } |
930 | 931 |
931 CountBits m_countBits; | 932 CountBits m_countBits; |
932 BitVector m_CSSFeatureBits; | 933 BitVector m_CSSFeatureBits; |
933 }; | 934 }; |
934 | 935 |
935 } // namespace blink | 936 } // namespace blink |
936 | 937 |
937 #endif // UseCounter_h | 938 #endif // UseCounter_h |
OLD | NEW |