| 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 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 OffscreenCanvasCommit2D = 1660, | 1381 OffscreenCanvasCommit2D = 1660, |
| 1382 OffscreenCanvasCommitWebGL = 1661, | 1382 OffscreenCanvasCommitWebGL = 1661, |
| 1383 RTCConfigurationIceTransportPolicy = 1662, | 1383 RTCConfigurationIceTransportPolicy = 1662, |
| 1384 RTCConfigurationIceTransportPolicyNone = 1663, | 1384 RTCConfigurationIceTransportPolicyNone = 1663, |
| 1385 RTCConfigurationIceTransports = 1664, | 1385 RTCConfigurationIceTransports = 1664, |
| 1386 DocumentFullscreenElementInV0Shadow = 1665, | 1386 DocumentFullscreenElementInV0Shadow = 1665, |
| 1387 ScriptWithCSPBypassingSchemeParserInserted = 1666, | 1387 ScriptWithCSPBypassingSchemeParserInserted = 1666, |
| 1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, | 1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, |
| 1389 DocumentCreateElement2ndArgStringHandling = 1668, | 1389 DocumentCreateElement2ndArgStringHandling = 1668, |
| 1390 V8MediaRecorder_Start_Method = 1669, | 1390 V8MediaRecorder_Start_Method = 1669, |
| 1391 WebBluetoothRequestDevice = 1670, |
| 1391 | 1392 |
| 1392 // Add new features immediately above this line. Don't change assigned | 1393 // Add new features immediately above this line. Don't change assigned |
| 1393 // numbers of any item, and don't reuse removed slots. | 1394 // numbers of any item, and don't reuse removed slots. |
| 1394 // Also, run update_use_counter_feature_enum.py in | 1395 // Also, run update_use_counter_feature_enum.py in |
| 1395 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1396 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1396 NumberOfFeatures, // This enum value must be last. | 1397 NumberOfFeatures, // This enum value must be last. |
| 1397 }; | 1398 }; |
| 1398 | 1399 |
| 1399 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1400 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1400 static void count(const Frame*, Feature); | 1401 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 // Tracks what features/properties need to be reported to the legacy | 1470 // Tracks what features/properties need to be reported to the legacy |
| 1470 // histograms. | 1471 // histograms. |
| 1471 BitVector m_featureBits; | 1472 BitVector m_featureBits; |
| 1472 BitVector m_CSSBits; | 1473 BitVector m_CSSBits; |
| 1473 } m_legacyCounter; | 1474 } m_legacyCounter; |
| 1474 }; | 1475 }; |
| 1475 | 1476 |
| 1476 } // namespace blink | 1477 } // namespace blink |
| 1477 | 1478 |
| 1478 #endif // UseCounter_h | 1479 #endif // UseCounter_h |
| OLD | NEW |