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 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1362 V8RTCDataChannel_Reliable_AttributeGetter = 1640, | 1362 V8RTCDataChannel_Reliable_AttributeGetter = 1640, |
1363 V8RTCPeerConnection_AddStream_Method = 1641, | 1363 V8RTCPeerConnection_AddStream_Method = 1641, |
1364 V8RTCPeerConnection_CreateDTMFSender_Method = 1642, | 1364 V8RTCPeerConnection_CreateDTMFSender_Method = 1642, |
1365 V8RTCPeerConnection_GetLocalStreams_Method = 1643, | 1365 V8RTCPeerConnection_GetLocalStreams_Method = 1643, |
1366 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, | 1366 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, |
1367 V8RTCPeerConnection_GetStreamById_Method = 1645, | 1367 V8RTCPeerConnection_GetStreamById_Method = 1645, |
1368 V8RTCPeerConnection_RemoveStream_Method = 1646, | 1368 V8RTCPeerConnection_RemoveStream_Method = 1646, |
1369 V8RTCPeerConnection_UpdateIce_Method = 1647, | 1369 V8RTCPeerConnection_UpdateIce_Method = 1647, |
1370 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, | 1370 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, |
1371 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, | 1371 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, |
| 1372 AudioContextCreateConstantSource = 1650, |
| 1373 WebAudioConstantSourceNode = 1651, |
1372 | 1374 |
1373 // Add new features immediately above this line. Don't change assigned | 1375 // Add new features immediately above this line. Don't change assigned |
1374 // numbers of any item, and don't reuse removed slots. | 1376 // numbers of any item, and don't reuse removed slots. |
1375 // Also, run update_use_counter_feature_enum.py in | 1377 // Also, run update_use_counter_feature_enum.py in |
1376 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1378 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1377 NumberOfFeatures, // This enum value must be last. | 1379 NumberOfFeatures, // This enum value must be last. |
1378 }; | 1380 }; |
1379 | 1381 |
1380 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1382 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1381 static void count(const Frame*, Feature); | 1383 static void count(const Frame*, Feature); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 // Tracks what features/properties need to be reported to the legacy | 1452 // Tracks what features/properties need to be reported to the legacy |
1451 // histograms. | 1453 // histograms. |
1452 BitVector m_featureBits; | 1454 BitVector m_featureBits; |
1453 BitVector m_CSSBits; | 1455 BitVector m_CSSBits; |
1454 } m_legacyCounter; | 1456 } m_legacyCounter; |
1455 }; | 1457 }; |
1456 | 1458 |
1457 } // namespace blink | 1459 } // namespace blink |
1458 | 1460 |
1459 #endif // UseCounter_h | 1461 #endif // UseCounter_h |
OLD | NEW |