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