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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
700 FullscreenInsecureOrigin = 766, | 700 FullscreenInsecureOrigin = 766, |
701 DialogInSandboxedContext = 767, | 701 DialogInSandboxedContext = 767, |
702 SVGSMILAnimationInImageRegardlessOfCache = 768, | 702 SVGSMILAnimationInImageRegardlessOfCache = 768, |
703 PushSubscriptionId = 769, | 703 PushSubscriptionId = 769, |
704 EncryptedMediaSecureOrigin = 770, | 704 EncryptedMediaSecureOrigin = 770, |
705 EncryptedMediaInsecureOrigin = 771, | 705 EncryptedMediaInsecureOrigin = 771, |
706 MarkDequeOverflow = 772, | 706 MarkDequeOverflow = 772, |
707 StoreBufferOverflow = 773, | 707 StoreBufferOverflow = 773, |
708 SlotsBufferOverflow = 774, | 708 SlotsBufferOverflow = 774, |
709 ObjectObserve = 775, | 709 ObjectObserve = 775, |
710 UnprefixedPerformanceClearFrameTimings = 776, | |
chrishtr
2015/05/09 00:51:52
Why have Unprefixed at the start?
MikeB
2015/05/11 23:10:51
Because I saw
UnprefixedPerformanceTimeli
chrishtr
2015/05/11 23:46:43
Looks like this is because PrefixedPerformanceTime
| |
711 UnprefixedPerformanceSetFrameTimingBufferSize = 777, | |
710 | 712 |
711 // Add new features immediately above this line. Don't change assigned | 713 // Add new features immediately above this line. Don't change assigned |
712 // numbers of any item, and don't reuse removed slots. | 714 // numbers of any item, and don't reuse removed slots. |
713 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ | 715 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ |
714 // to update the UMA mapping. | 716 // to update the UMA mapping. |
715 NumberOfFeatures, // This enum value must be last. | 717 NumberOfFeatures, // This enum value must be last. |
716 }; | 718 }; |
717 | 719 |
718 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 720 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
719 static void count(const Frame*, Feature); | 721 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
803 | 805 |
804 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } | 806 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } |
805 | 807 |
806 CountBits m_countBits; | 808 CountBits m_countBits; |
807 BitVector m_CSSFeatureBits; | 809 BitVector m_CSSFeatureBits; |
808 }; | 810 }; |
809 | 811 |
810 } // namespace blink | 812 } // namespace blink |
811 | 813 |
812 #endif // UseCounter_h | 814 #endif // UseCounter_h |
OLD | NEW |