| 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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1368 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, | 1368 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, |
| 1369 V8RTCPeerConnection_GetStreamById_Method = 1645, | 1369 V8RTCPeerConnection_GetStreamById_Method = 1645, |
| 1370 V8RTCPeerConnection_RemoveStream_Method = 1646, | 1370 V8RTCPeerConnection_RemoveStream_Method = 1646, |
| 1371 V8RTCPeerConnection_UpdateIce_Method = 1647, | 1371 V8RTCPeerConnection_UpdateIce_Method = 1647, |
| 1372 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, | 1372 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, |
| 1373 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, | 1373 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, |
| 1374 AudioContextCreateConstantSource = 1650, | 1374 AudioContextCreateConstantSource = 1650, |
| 1375 WebAudioConstantSourceNode = 1651, | 1375 WebAudioConstantSourceNode = 1651, |
| 1376 LoopbackEmbeddedInSecureContext = 1652, | 1376 LoopbackEmbeddedInSecureContext = 1652, |
| 1377 LoopbackEmbeddedInNonSecureContext = 1653, | 1377 LoopbackEmbeddedInNonSecureContext = 1653, |
| 1378 BlinkMacSystemFont = 1654, |
| 1378 | 1379 |
| 1379 // Add new features immediately above this line. Don't change assigned | 1380 // Add new features immediately above this line. Don't change assigned |
| 1380 // numbers of any item, and don't reuse removed slots. | 1381 // numbers of any item, and don't reuse removed slots. |
| 1381 // Also, run update_use_counter_feature_enum.py in | 1382 // Also, run update_use_counter_feature_enum.py in |
| 1382 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1383 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1383 NumberOfFeatures, // This enum value must be last. | 1384 NumberOfFeatures, // This enum value must be last. |
| 1384 }; | 1385 }; |
| 1385 | 1386 |
| 1386 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1387 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1387 static void count(const Frame*, Feature); | 1388 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 // Tracks what features/properties need to be reported to the legacy | 1457 // Tracks what features/properties need to be reported to the legacy |
| 1457 // histograms. | 1458 // histograms. |
| 1458 BitVector m_featureBits; | 1459 BitVector m_featureBits; |
| 1459 BitVector m_CSSBits; | 1460 BitVector m_CSSBits; |
| 1460 } m_legacyCounter; | 1461 } m_legacyCounter; |
| 1461 }; | 1462 }; |
| 1462 | 1463 |
| 1463 } // namespace blink | 1464 } // namespace blink |
| 1464 | 1465 |
| 1465 #endif // UseCounter_h | 1466 #endif // UseCounter_h |
| OLD | NEW |