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 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 CSSFlexibleBox = 1692, | 1378 CSSFlexibleBox = 1692, |
1379 CSSGridLayout = 1693, | 1379 CSSGridLayout = 1693, |
1380 V8BarcodeDetector_Detect_Method = 1694, | 1380 V8BarcodeDetector_Detect_Method = 1694, |
1381 V8FaceDetector_Detect_Method = 1695, | 1381 V8FaceDetector_Detect_Method = 1695, |
1382 FullscreenAllowedByOrientationChange = 1696, | 1382 FullscreenAllowedByOrientationChange = 1696, |
1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, | 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, |
1384 V8AudioContext_Constructor = 1698, | 1384 V8AudioContext_Constructor = 1698, |
1385 V8OfflineAudioContext_Constructor = 1699, | 1385 V8OfflineAudioContext_Constructor = 1699, |
1386 AppInstalledEventAddListener = 1700, | 1386 AppInstalledEventAddListener = 1700, |
1387 AudioContextGetOutputTimestamp = 1701, | 1387 AudioContextGetOutputTimestamp = 1701, |
| 1388 V8MediaStreamAudioDestinationNode_Constructor = 1702, |
1388 | 1389 |
1389 // Add new features immediately above this line. Don't change assigned | 1390 // Add new features immediately above this line. Don't change assigned |
1390 // numbers of any item, and don't reuse removed slots. | 1391 // numbers of any item, and don't reuse removed slots. |
1391 // Also, run update_use_counter_feature_enum.py in | 1392 // Also, run update_use_counter_feature_enum.py in |
1392 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1393 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1393 NumberOfFeatures, // This enum value must be last. | 1394 NumberOfFeatures, // This enum value must be last. |
1394 }; | 1395 }; |
1395 | 1396 |
1396 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1397 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1397 static void count(const Frame*, Feature); | 1398 static void count(const Frame*, Feature); |
(...skipping 58 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 |