| 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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 WebAudioIIRFilterNode = 1571, | 1314 WebAudioIIRFilterNode = 1571, |
| 1315 WebAudioMediaElementAudioSourceNode = 1572, | 1315 WebAudioMediaElementAudioSourceNode = 1572, |
| 1316 WebAudioOscillatorNode = 1573, | 1316 WebAudioOscillatorNode = 1573, |
| 1317 WebAudioPannerNode = 1574, | 1317 WebAudioPannerNode = 1574, |
| 1318 WebAudioPeriodicWave = 1575, | 1318 WebAudioPeriodicWave = 1575, |
| 1319 WebAudioStereoPannerNode = 1576, | 1319 WebAudioStereoPannerNode = 1576, |
| 1320 WebAudioWaveShaperNode = 1577, | 1320 WebAudioWaveShaperNode = 1577, |
| 1321 CSSZoomReset = 1578, | 1321 CSSZoomReset = 1578, |
| 1322 CSSZoomDocument = 1579, | 1322 CSSZoomDocument = 1579, |
| 1323 PaymentAddressCareOf = 1580, | 1323 PaymentAddressCareOf = 1580, |
| 1324 XSSAuditorBlockedScript = 1581, |
| 1325 XSSAuditorBlockedEntirePage = 1582, |
| 1326 XSSAuditorDisabled = 1583, |
| 1327 XSSAuditorEnabledFilter = 1584, |
| 1328 XSSAuditorEnabledBlock = 1585, |
| 1329 XSSAuditorInvalid = 1586, |
| 1330 |
| 1324 // Add new features immediately above this line. Don't change assigned | 1331 // Add new features immediately above this line. Don't change assigned |
| 1325 // numbers of any item, and don't reuse removed slots. | 1332 // numbers of any item, and don't reuse removed slots. |
| 1326 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1333 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1327 // to update the UMA mapping. | 1334 // to update the UMA mapping. |
| 1328 NumberOfFeatures, // This enum value must be last. | 1335 NumberOfFeatures, // This enum value must be last. |
| 1329 }; | 1336 }; |
| 1330 | 1337 |
| 1331 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1338 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1332 static void count(const Frame*, Feature); | 1339 static void count(const Frame*, Feature); |
| 1333 static void count(const Document&, Feature); | 1340 static void count(const Document&, Feature); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1395 private: | 1402 private: |
| 1396 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1403 // Tracks what features/properties need to be reported to the legacy his
tograms. |
| 1397 BitVector m_featureBits; | 1404 BitVector m_featureBits; |
| 1398 BitVector m_CSSBits; | 1405 BitVector m_CSSBits; |
| 1399 } m_legacyCounter; | 1406 } m_legacyCounter; |
| 1400 }; | 1407 }; |
| 1401 | 1408 |
| 1402 } // namespace blink | 1409 } // namespace blink |
| 1403 | 1410 |
| 1404 #endif // UseCounter_h | 1411 #endif // UseCounter_h |
| OLD | NEW |