| 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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 CreateObjectURLMediaSource = 1605, | 1330 CreateObjectURLMediaSource = 1605, |
| 1331 CreateObjectURLMediaStream = 1606, | 1331 CreateObjectURLMediaStream = 1606, |
| 1332 DocumentCreateTouchWindowNull = 1607, | 1332 DocumentCreateTouchWindowNull = 1607, |
| 1333 DocumentCreateTouchWindowWrongType = 1608, | 1333 DocumentCreateTouchWindowWrongType = 1608, |
| 1334 DocumentCreateTouchTargetNull = 1609, | 1334 DocumentCreateTouchTargetNull = 1609, |
| 1335 DocumentCreateTouchTargetWrongType = 1610, | 1335 DocumentCreateTouchTargetWrongType = 1610, |
| 1336 DocumentCreateTouchLessThanSevenArguments = 1611, | 1336 DocumentCreateTouchLessThanSevenArguments = 1611, |
| 1337 DocumentCreateTouchMoreThanSevenArguments = 1612, | 1337 DocumentCreateTouchMoreThanSevenArguments = 1612, |
| 1338 EncryptedMediaCapabilityProvided = 1613, | 1338 EncryptedMediaCapabilityProvided = 1613, |
| 1339 EncryptedMediaCapabilityNotProvided = 1614, | 1339 EncryptedMediaCapabilityNotProvided = 1614, |
| 1340 LongTaskObserver = 1615, |
| 1340 | 1341 |
| 1341 // Add new features immediately above this line. Don't change assigned | 1342 // Add new features immediately above this line. Don't change assigned |
| 1342 // numbers of any item, and don't reuse removed slots. | 1343 // numbers of any item, and don't reuse removed slots. |
| 1343 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/metric
s/histograms/ | 1344 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/metric
s/histograms/ |
| 1344 // to update the UMA mapping. | 1345 // to update the UMA mapping. |
| 1345 NumberOfFeatures, // This enum value must be last. | 1346 NumberOfFeatures, // This enum value must be last. |
| 1346 }; | 1347 }; |
| 1347 | 1348 |
| 1348 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1349 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1349 static void count(const Frame*, Feature); | 1350 static void count(const Frame*, Feature); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 private: | 1416 private: |
| 1416 // Tracks what features/properties need to be reported to the legacy histogr
ams. | 1417 // Tracks what features/properties need to be reported to the legacy histogr
ams. |
| 1417 BitVector m_featureBits; | 1418 BitVector m_featureBits; |
| 1418 BitVector m_CSSBits; | 1419 BitVector m_CSSBits; |
| 1419 } m_legacyCounter; | 1420 } m_legacyCounter; |
| 1420 }; | 1421 }; |
| 1421 | 1422 |
| 1422 } // namespace blink | 1423 } // namespace blink |
| 1423 | 1424 |
| 1424 #endif // UseCounter_h | 1425 #endif // UseCounter_h |
| OLD | NEW |