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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 AudioBufferSourceBufferOnce = 678, |
| 621 WhiteSpacePreFromXMLSpace = 679, |
| 622 WhiteSpaceNowrapFromXMLSpace = 680, |
621 | 623 |
622 // Add new features immediately above this line. Don't change assigned | 624 // Add new features immediately above this line. Don't change assigned |
623 // numbers of any item, and don't reuse removed slots. | 625 // numbers of any item, and don't reuse removed slots. |
624 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 626 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
625 // to update the UMA mapping. | 627 // to update the UMA mapping. |
626 NumberOfFeatures, // This enum value must be last. | 628 NumberOfFeatures, // This enum value must be last. |
627 }; | 629 }; |
628 | 630 |
629 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 631 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
630 static void count(const Frame*, Feature); | 632 static void count(const Frame*, Feature); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 | 696 |
695 void updateMeasurements(); | 697 void updateMeasurements(); |
696 | 698 |
697 OwnPtr<BitVector> m_countBits; | 699 OwnPtr<BitVector> m_countBits; |
698 BitVector m_CSSFeatureBits; | 700 BitVector m_CSSFeatureBits; |
699 }; | 701 }; |
700 | 702 |
701 } // namespace blink | 703 } // namespace blink |
702 | 704 |
703 #endif // UseCounter_h | 705 #endif // UseCounter_h |
OLD | NEW |