| 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 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 V8MediaSession_SetActionHandler_Method = 1792, | 1447 V8MediaSession_SetActionHandler_Method = 1792, |
| 1448 WebNFCPush = 1793, | 1448 WebNFCPush = 1793, |
| 1449 WebNFCCancelPush = 1794, | 1449 WebNFCCancelPush = 1794, |
| 1450 WebNFCWatch = 1795, | 1450 WebNFCWatch = 1795, |
| 1451 WebNFCCancelWatch = 1796, | 1451 WebNFCCancelWatch = 1796, |
| 1452 AudioParamCancelAndHoldAtTime = 1797, | 1452 AudioParamCancelAndHoldAtTime = 1797, |
| 1453 CSSValueUserModifyReadOnly = 1798, | 1453 CSSValueUserModifyReadOnly = 1798, |
| 1454 CSSValueUserModifyReadWrite = 1799, | 1454 CSSValueUserModifyReadWrite = 1799, |
| 1455 CSSValueUserModifyReadWritePlaintextOnly = 1800, | 1455 CSSValueUserModifyReadWritePlaintextOnly = 1800, |
| 1456 V8TextDetector_Detect_Method = 1801, | 1456 V8TextDetector_Detect_Method = 1801, |
| 1457 CSSValueOnDemand = 1802, |
| 1457 | 1458 |
| 1458 // Add new features immediately above this line. Don't change assigned | 1459 // Add new features immediately above this line. Don't change assigned |
| 1459 // numbers of any item, and don't reuse removed slots. | 1460 // numbers of any item, and don't reuse removed slots. |
| 1460 // Also, run update_use_counter_feature_enum.py in | 1461 // Also, run update_use_counter_feature_enum.py in |
| 1461 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1462 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1462 NumberOfFeatures, // This enum value must be last. | 1463 NumberOfFeatures, // This enum value must be last. |
| 1463 }; | 1464 }; |
| 1464 | 1465 |
| 1465 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1466 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1466 static void count(const Frame*, Feature); | 1467 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1535 // Tracks what features/properties need to be reported to the legacy | 1536 // Tracks what features/properties need to be reported to the legacy |
| 1536 // histograms. | 1537 // histograms. |
| 1537 BitVector m_featureBits; | 1538 BitVector m_featureBits; |
| 1538 BitVector m_CSSBits; | 1539 BitVector m_CSSBits; |
| 1539 } m_legacyCounter; | 1540 } m_legacyCounter; |
| 1540 }; | 1541 }; |
| 1541 | 1542 |
| 1542 } // namespace blink | 1543 } // namespace blink |
| 1543 | 1544 |
| 1544 #endif // UseCounter_h | 1545 #endif // UseCounter_h |
| OLD | NEW |