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