| 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 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1350 GamepadButtonTouched = 1628, | 1350 GamepadButtonTouched = 1628, |
| 1351 GamepadPoseHasOrientation = 1629, | 1351 GamepadPoseHasOrientation = 1629, |
| 1352 GamepadPoseHasPosition = 1630, | 1352 GamepadPoseHasPosition = 1630, |
| 1353 GamepadPosePosition = 1631, | 1353 GamepadPosePosition = 1631, |
| 1354 GamepadPoseLinearVelocity = 1632, | 1354 GamepadPoseLinearVelocity = 1632, |
| 1355 GamepadPoseLinearAcceleration = 1633, | 1355 GamepadPoseLinearAcceleration = 1633, |
| 1356 GamepadPoseOrientation = 1634, | 1356 GamepadPoseOrientation = 1634, |
| 1357 GamepadPoseAngularVelocity = 1635, | 1357 GamepadPoseAngularVelocity = 1635, |
| 1358 GamepadPoseAngularAcceleration = 1636, | 1358 GamepadPoseAngularAcceleration = 1636, |
| 1359 DeprecatedBluetoothDeviceUUIDsAttribute = 1637, | 1359 DeprecatedBluetoothDeviceUUIDsAttribute = 1637, |
| 1360 V8RTCDataChannel_MaxRetransmitTime_AttributeGetter = 1638, |
| 1361 V8RTCDataChannel_MaxRetransmits_AttributeGetter = 1639, |
| 1362 V8RTCDataChannel_Reliable_AttributeGetter = 1640, |
| 1363 V8RTCPeerConnection_AddStream_Method = 1641, |
| 1364 V8RTCPeerConnection_CreateDTMFSender_Method = 1642, |
| 1365 V8RTCPeerConnection_GetLocalStreams_Method = 1643, |
| 1366 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, |
| 1367 V8RTCPeerConnection_GetStreamById_Method = 1645, |
| 1368 V8RTCPeerConnection_RemoveStream_Method = 1646, |
| 1369 V8RTCPeerConnection_UpdateIce_Method = 1647, |
| 1370 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, |
| 1371 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, |
| 1360 | 1372 |
| 1361 // Add new features immediately above this line. Don't change assigned | 1373 // Add new features immediately above this line. Don't change assigned |
| 1362 // numbers of any item, and don't reuse removed slots. | 1374 // numbers of any item, and don't reuse removed slots. |
| 1363 // Also, run update_use_counter_feature_enum.py in | 1375 // Also, run update_use_counter_feature_enum.py in |
| 1364 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1376 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1365 NumberOfFeatures, // This enum value must be last. | 1377 NumberOfFeatures, // This enum value must be last. |
| 1366 }; | 1378 }; |
| 1367 | 1379 |
| 1368 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1380 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1369 static void count(const Frame*, Feature); | 1381 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1438 // Tracks what features/properties need to be reported to the legacy | 1450 // Tracks what features/properties need to be reported to the legacy |
| 1439 // histograms. | 1451 // histograms. |
| 1440 BitVector m_featureBits; | 1452 BitVector m_featureBits; |
| 1441 BitVector m_CSSBits; | 1453 BitVector m_CSSBits; |
| 1442 } m_legacyCounter; | 1454 } m_legacyCounter; |
| 1443 }; | 1455 }; |
| 1444 | 1456 |
| 1445 } // namespace blink | 1457 } // namespace blink |
| 1446 | 1458 |
| 1447 #endif // UseCounter_h | 1459 #endif // UseCounter_h |
| OLD | NEW |