Chromium Code Reviews| 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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1441 V8MediaSession_Metadata_AttributeGetter = 1788, | 1441 V8MediaSession_Metadata_AttributeGetter = 1788, |
| 1442 V8MediaSession_Metadata_AttributeSetter = 1789, | 1442 V8MediaSession_Metadata_AttributeSetter = 1789, |
| 1443 V8MediaSession_PlaybackState_AttributeGetter = 1790, | 1443 V8MediaSession_PlaybackState_AttributeGetter = 1790, |
| 1444 V8MediaSession_PlaybackState_AttributeSetter = 1791, | 1444 V8MediaSession_PlaybackState_AttributeSetter = 1791, |
| 1445 V8MediaSession_SetActionHandler_Method = 1792, | 1445 V8MediaSession_SetActionHandler_Method = 1792, |
| 1446 WebNFCPush = 1793, | 1446 WebNFCPush = 1793, |
| 1447 WebNFCCancelPush = 1794, | 1447 WebNFCCancelPush = 1794, |
| 1448 WebNFCWatch = 1795, | 1448 WebNFCWatch = 1795, |
| 1449 WebNFCCancelWatch = 1796, | 1449 WebNFCCancelWatch = 1796, |
| 1450 AudioParamCancelAndHoldAtTime = 1797, | 1450 AudioParamCancelAndHoldAtTime = 1797, |
| 1451 CSSValueUserModifyReadOnly = 1798, | |
|
Manuel Rego
2017/02/03 14:12:07
Not really important but we usually have comments
Xiaocheng
2017/02/03 14:35:13
Thanks, with a question.
Counters starting from 1
Manuel Rego
2017/02/03 14:46:22
That's a good question and I don't have a good ans
| |
| 1452 CSSValueUserModifyReadWrite = 1799, | |
| 1453 CSSValueUserModifyReadWritePlaintextOnly = 1800, | |
| 1451 | 1454 |
| 1452 // Add new features immediately above this line. Don't change assigned | 1455 // Add new features immediately above this line. Don't change assigned |
| 1453 // numbers of any item, and don't reuse removed slots. | 1456 // numbers of any item, and don't reuse removed slots. |
| 1454 // Also, run update_use_counter_feature_enum.py in | 1457 // Also, run update_use_counter_feature_enum.py in |
| 1455 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1458 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1456 NumberOfFeatures, // This enum value must be last. | 1459 NumberOfFeatures, // This enum value must be last. |
| 1457 }; | 1460 }; |
| 1458 | 1461 |
| 1459 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1462 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1460 static void count(const Frame*, Feature); | 1463 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1529 // Tracks what features/properties need to be reported to the legacy | 1532 // Tracks what features/properties need to be reported to the legacy |
| 1530 // histograms. | 1533 // histograms. |
| 1531 BitVector m_featureBits; | 1534 BitVector m_featureBits; |
| 1532 BitVector m_CSSBits; | 1535 BitVector m_CSSBits; |
| 1533 } m_legacyCounter; | 1536 } m_legacyCounter; |
| 1534 }; | 1537 }; |
| 1535 | 1538 |
| 1536 } // namespace blink | 1539 } // namespace blink |
| 1537 | 1540 |
| 1538 #endif // UseCounter_h | 1541 #endif // UseCounter_h |
| OLD | NEW |