| 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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 CSSGridLayout = 1693, | 1379 CSSGridLayout = 1693, |
| 1380 V8BarcodeDetector_Detect_Method = 1694, | 1380 V8BarcodeDetector_Detect_Method = 1694, |
| 1381 V8FaceDetector_Detect_Method = 1695, | 1381 V8FaceDetector_Detect_Method = 1695, |
| 1382 FullscreenAllowedByOrientationChange = 1696, | 1382 FullscreenAllowedByOrientationChange = 1696, |
| 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, | 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, |
| 1384 V8AudioContext_Constructor = 1698, | 1384 V8AudioContext_Constructor = 1698, |
| 1385 V8OfflineAudioContext_Constructor = 1699, | 1385 V8OfflineAudioContext_Constructor = 1699, |
| 1386 AppInstalledEventAddListener = 1700, | 1386 AppInstalledEventAddListener = 1700, |
| 1387 AudioContextGetOutputTimestamp = 1701, | 1387 AudioContextGetOutputTimestamp = 1701, |
| 1388 V8MediaStreamAudioDestinationNode_Constructor = 1702, | 1388 V8MediaStreamAudioDestinationNode_Constructor = 1702, |
| 1389 V8AnalyserNode_Constructor = 1703, |
| 1390 V8AudioBuffer_Constructor = 1704, |
| 1391 V8AudioBufferSourceNode_Constructor = 1705, |
| 1392 V8AudioProcessingEvent_Constructor = 1706, |
| 1393 V8BiquadFilterNode_Constructor = 1707, |
| 1394 V8ChannelMergerNode_Constructor = 1708, |
| 1395 V8ChannelSplitterNode_Constructor = 1709, |
| 1396 V8ConstantSourceNode_Constructor = 1710, |
| 1397 V8ConvolverNode_Constructor = 1711, |
| 1398 V8DelayNode_Constructor = 1712, |
| 1399 V8DynamicsCompressorNode_Constructor = 1713, |
| 1400 V8GainNode_Constructor = 1714, |
| 1401 V8IIRFilterNode_Constructor = 1715, |
| 1402 V8MediaElementAudioSourceNode_Constructor = 1716, |
| 1403 V8MediaStreamAudioSourceNode_Constructor = 1717, |
| 1404 V8OfflineAudioCompletionEvent_Constructor = 1718, |
| 1405 V8OscillatorNode_Constructor = 1719, |
| 1406 V8PannerNode_Constructor = 1720, |
| 1407 V8PeriodicWave_Constructor = 1721, |
| 1408 V8StereoPannerNode_Constructor = 1722, |
| 1409 V8WaveShaperNode_Constructor = 1723, |
| 1389 | 1410 |
| 1390 // Add new features immediately above this line. Don't change assigned | 1411 // Add new features immediately above this line. Don't change assigned |
| 1391 // numbers of any item, and don't reuse removed slots. | 1412 // numbers of any item, and don't reuse removed slots. |
| 1392 // Also, run update_use_counter_feature_enum.py in | 1413 // Also, run update_use_counter_feature_enum.py in |
| 1393 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1414 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1394 NumberOfFeatures, // This enum value must be last. | 1415 NumberOfFeatures, // This enum value must be last. |
| 1395 }; | 1416 }; |
| 1396 | 1417 |
| 1397 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1418 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1398 static void count(const Frame*, Feature); | 1419 static void count(const Frame*, Feature); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 // Tracks what features/properties need to be reported to the legacy | 1478 // Tracks what features/properties need to be reported to the legacy |
| 1458 // histograms. | 1479 // histograms. |
| 1459 BitVector m_featureBits; | 1480 BitVector m_featureBits; |
| 1460 BitVector m_CSSBits; | 1481 BitVector m_CSSBits; |
| 1461 } m_legacyCounter; | 1482 } m_legacyCounter; |
| 1462 }; | 1483 }; |
| 1463 | 1484 |
| 1464 } // namespace blink | 1485 } // namespace blink |
| 1465 | 1486 |
| 1466 #endif // UseCounter_h | 1487 #endif // UseCounter_h |
| OLD | NEW |