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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 DeviceMotionInsecureOrigin = 668, | 610 DeviceMotionInsecureOrigin = 668, |
611 DeviceMotionSecureOrigin = 669, | 611 DeviceMotionSecureOrigin = 669, |
612 DeviceOrientationInsecureOrigin = 670, | 612 DeviceOrientationInsecureOrigin = 670, |
613 DeviceOrientationSecureOrigin = 671, | 613 DeviceOrientationSecureOrigin = 671, |
614 SandboxViaIFrame = 672, | 614 SandboxViaIFrame = 672, |
615 SandboxViaCSP = 673, | 615 SandboxViaCSP = 673, |
616 BlockedSniffingImageToScript = 674, | 616 BlockedSniffingImageToScript = 674, |
617 Fetch = 675, | 617 Fetch = 675, |
618 FetchBodyStream = 676, | 618 FetchBodyStream = 676, |
619 XMLHttpRequestAsynchronous = 677, | 619 XMLHttpRequestAsynchronous = 677, |
| 620 AudioBufferSourceBufferOnce = 678, |
620 | 621 |
621 // Add new features immediately above this line. Don't change assigned | 622 // Add new features immediately above this line. Don't change assigned |
622 // numbers of any item, and don't reuse removed slots. | 623 // numbers of any item, and don't reuse removed slots. |
623 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 624 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
624 // to update the UMA mapping. | 625 // to update the UMA mapping. |
625 NumberOfFeatures, // This enum value must be last. | 626 NumberOfFeatures, // This enum value must be last. |
626 }; | 627 }; |
627 | 628 |
628 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 629 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
629 static void count(const Frame*, Feature); | 630 static void count(const Frame*, Feature); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 | 694 |
694 void updateMeasurements(); | 695 void updateMeasurements(); |
695 | 696 |
696 OwnPtr<BitVector> m_countBits; | 697 OwnPtr<BitVector> m_countBits; |
697 BitVector m_CSSFeatureBits; | 698 BitVector m_CSSFeatureBits; |
698 }; | 699 }; |
699 | 700 |
700 } // namespace blink | 701 } // namespace blink |
701 | 702 |
702 #endif // UseCounter_h | 703 #endif // UseCounter_h |
OLD | NEW |