| 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 710         ElementCreateShadowRootWithParameter = 804, | 710         ElementCreateShadowRootWithParameter = 804, | 
| 711         V8KeyboardEvent_KeyIdentifier_AttributeGetter = 805, | 711         V8KeyboardEvent_KeyIdentifier_AttributeGetter = 805, | 
| 712         V8SecurityPolicyViolationEvent_DocumentURI_AttributeGetter = 806, | 712         V8SecurityPolicyViolationEvent_DocumentURI_AttributeGetter = 806, | 
| 713         V8SecurityPolicyViolationEvent_BlockedURI_AttributeGetter = 807, | 713         V8SecurityPolicyViolationEvent_BlockedURI_AttributeGetter = 807, | 
| 714         V8SecurityPolicyViolationEvent_StatusCode_AttributeGetter = 808, | 714         V8SecurityPolicyViolationEvent_StatusCode_AttributeGetter = 808, | 
| 715         HTMLLinkElementDisabled = 809, | 715         HTMLLinkElementDisabled = 809, | 
| 716         V8HTMLLinkElement_Disabled_AttributeGetter = 810, | 716         V8HTMLLinkElement_Disabled_AttributeGetter = 810, | 
| 717         V8HTMLLinkElement_Disabled_AttributeSetter = 811, | 717         V8HTMLLinkElement_Disabled_AttributeSetter = 811, | 
| 718         V8HTMLStyleElement_Disabled_AttributeGetter = 812, | 718         V8HTMLStyleElement_Disabled_AttributeGetter = 812, | 
| 719         V8HTMLStyleElement_Disabled_AttributeSetter = 813, | 719         V8HTMLStyleElement_Disabled_AttributeSetter = 813, | 
|  | 720         V8FileReader_ReadAsBinaryString_Method = 814, | 
|  | 721         V8FileReaderSync_ReadAsBinaryString_Method = 815, | 
| 720 | 722 | 
| 721         // Add new features immediately above this line. Don't change assigned | 723         // Add new features immediately above this line. Don't change assigned | 
| 722         // numbers of any item, and don't reuse removed slots. | 724         // numbers of any item, and don't reuse removed slots. | 
| 723         // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
     trics/histograms/ | 725         // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
     trics/histograms/ | 
| 724         // to update the UMA mapping. | 726         // to update the UMA mapping. | 
| 725         NumberOfFeatures, // This enum value must be last. | 727         NumberOfFeatures, // This enum value must be last. | 
| 726     }; | 728     }; | 
| 727 | 729 | 
| 728     // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 730     // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 
| 729     static void count(const Frame*, Feature); | 731     static void count(const Frame*, Feature); | 
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 813 | 815 | 
| 814     bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
     ecordedMeasurement(feature); } | 816     bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
     ecordedMeasurement(feature); } | 
| 815 | 817 | 
| 816     CountBits m_countBits; | 818     CountBits m_countBits; | 
| 817     BitVector m_CSSFeatureBits; | 819     BitVector m_CSSFeatureBits; | 
| 818 }; | 820 }; | 
| 819 | 821 | 
| 820 } // namespace blink | 822 } // namespace blink | 
| 821 | 823 | 
| 822 #endif // UseCounter_h | 824 #endif // UseCounter_h | 
| OLD | NEW | 
|---|