| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 OfflineAudioContext = 653, | 594 OfflineAudioContext = 653, |
| 595 PrefixedAudioContext = 654, | 595 PrefixedAudioContext = 654, |
| 596 PrefixedOfflineAudioContext = 655, | 596 PrefixedOfflineAudioContext = 655, |
| 597 AddEventListenerNoArguments = 656, | 597 AddEventListenerNoArguments = 656, |
| 598 AddEventListenerOneArgument = 657, | 598 AddEventListenerOneArgument = 657, |
| 599 RemoveEventListenerNoArguments = 658, | 599 RemoveEventListenerNoArguments = 658, |
| 600 RemoveEventListenerOneArgument = 659, | 600 RemoveEventListenerOneArgument = 659, |
| 601 SRIElementWithNonMatchingIntegrityType = 660, | 601 SRIElementWithNonMatchingIntegrityType = 660, |
| 602 MixedContentInNonHTTPSFrameThatRestrictsMixedContent = 661, | 602 MixedContentInNonHTTPSFrameThatRestrictsMixedContent = 661, |
| 603 MixedContentInSecureFrameThatDoesNotRestrictMixedContent = 662, | 603 MixedContentInSecureFrameThatDoesNotRestrictMixedContent = 662, |
| 604 MixedContentWebSocket = 663, |
| 604 | 605 |
| 605 // Add new features immediately above this line. Don't change assigned | 606 // Add new features immediately above this line. Don't change assigned |
| 606 // numbers of any item, and don't reuse removed slots. | 607 // numbers of any item, and don't reuse removed slots. |
| 607 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 608 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 608 // to update the UMA mapping. | 609 // to update the UMA mapping. |
| 609 NumberOfFeatures, // This enum value must be last. | 610 NumberOfFeatures, // This enum value must be last. |
| 610 }; | 611 }; |
| 611 | 612 |
| 612 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 613 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 613 static void count(const Frame*, Feature); | 614 static void count(const Frame*, Feature); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 | 678 |
| 678 void updateMeasurements(); | 679 void updateMeasurements(); |
| 679 | 680 |
| 680 OwnPtr<BitVector> m_countBits; | 681 OwnPtr<BitVector> m_countBits; |
| 681 BitVector m_CSSFeatureBits; | 682 BitVector m_CSSFeatureBits; |
| 682 }; | 683 }; |
| 683 | 684 |
| 684 } // namespace blink | 685 } // namespace blink |
| 685 | 686 |
| 686 #endif // UseCounter_h | 687 #endif // UseCounter_h |
| OLD | NEW |