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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 V8GainNode_Constructor = 1714, | 1393 V8GainNode_Constructor = 1714, |
1394 V8IIRFilterNode_Constructor = 1715, | 1394 V8IIRFilterNode_Constructor = 1715, |
1395 V8MediaElementAudioSourceNode_Constructor = 1716, | 1395 V8MediaElementAudioSourceNode_Constructor = 1716, |
1396 V8MediaStreamAudioSourceNode_Constructor = 1717, | 1396 V8MediaStreamAudioSourceNode_Constructor = 1717, |
1397 V8OfflineAudioCompletionEvent_Constructor = 1718, | 1397 V8OfflineAudioCompletionEvent_Constructor = 1718, |
1398 V8OscillatorNode_Constructor = 1719, | 1398 V8OscillatorNode_Constructor = 1719, |
1399 V8PannerNode_Constructor = 1720, | 1399 V8PannerNode_Constructor = 1720, |
1400 V8PeriodicWave_Constructor = 1721, | 1400 V8PeriodicWave_Constructor = 1721, |
1401 V8StereoPannerNode_Constructor = 1722, | 1401 V8StereoPannerNode_Constructor = 1722, |
1402 V8WaveShaperNode_Constructor = 1723, | 1402 V8WaveShaperNode_Constructor = 1723, |
| 1403 V8Headers_GetAll_Method = 1724, |
1403 | 1404 |
1404 // Add new features immediately above this line. Don't change assigned | 1405 // Add new features immediately above this line. Don't change assigned |
1405 // numbers of any item, and don't reuse removed slots. | 1406 // numbers of any item, and don't reuse removed slots. |
1406 // Also, run update_use_counter_feature_enum.py in | 1407 // Also, run update_use_counter_feature_enum.py in |
1407 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1408 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1408 NumberOfFeatures, // This enum value must be last. | 1409 NumberOfFeatures, // This enum value must be last. |
1409 }; | 1410 }; |
1410 | 1411 |
1411 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1412 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1412 static void count(const Frame*, Feature); | 1413 static void count(const Frame*, Feature); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1471 // Tracks what features/properties need to be reported to the legacy | 1472 // Tracks what features/properties need to be reported to the legacy |
1472 // histograms. | 1473 // histograms. |
1473 BitVector m_featureBits; | 1474 BitVector m_featureBits; |
1474 BitVector m_CSSBits; | 1475 BitVector m_CSSBits; |
1475 } m_legacyCounter; | 1476 } m_legacyCounter; |
1476 }; | 1477 }; |
1477 | 1478 |
1478 } // namespace blink | 1479 } // namespace blink |
1479 | 1480 |
1480 #endif // UseCounter_h | 1481 #endif // UseCounter_h |
OLD | NEW |