| 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 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1467 NotificationPermissionRequestedIframe = 1817, | 1467 NotificationPermissionRequestedIframe = 1817, |
| 1468 FileReaderSyncInServiceWorker = 1818, | 1468 FileReaderSyncInServiceWorker = 1818, |
| 1469 PresentationReceiverInsecureOrigin = 1819, | 1469 PresentationReceiverInsecureOrigin = 1819, |
| 1470 PresentationReceiverSecureOrigin = 1820, | 1470 PresentationReceiverSecureOrigin = 1820, |
| 1471 PresentationRequestInsecureOrigin = 1821, | 1471 PresentationRequestInsecureOrigin = 1821, |
| 1472 PresentationRequestSecureOrigin = 1822, | 1472 PresentationRequestSecureOrigin = 1822, |
| 1473 RtcpMuxPolicyNegotiate = 1823, | 1473 RtcpMuxPolicyNegotiate = 1823, |
| 1474 DOMClobberedVariableAccessed = 1824, | 1474 DOMClobberedVariableAccessed = 1824, |
| 1475 HTMLDocumentCreateProcessingInstruction = 1825, | 1475 HTMLDocumentCreateProcessingInstruction = 1825, |
| 1476 FetchResponseConstructionWithStream = 1826, | 1476 FetchResponseConstructionWithStream = 1826, |
| 1477 LocationOrigin = 1827, |
| 1478 DocumentOrigin = 1828, |
| 1477 | 1479 |
| 1478 // Add new features immediately above this line. Don't change assigned | 1480 // Add new features immediately above this line. Don't change assigned |
| 1479 // numbers of any item, and don't reuse removed slots. | 1481 // numbers of any item, and don't reuse removed slots. |
| 1480 // Also, run update_use_counter_feature_enum.py in | 1482 // Also, run update_use_counter_feature_enum.py in |
| 1481 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1483 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1482 NumberOfFeatures, // This enum value must be last. | 1484 NumberOfFeatures, // This enum value must be last. |
| 1483 }; | 1485 }; |
| 1484 | 1486 |
| 1485 // An interface to observe UseCounter changes. Note that this is never | 1487 // An interface to observe UseCounter changes. Note that this is never |
| 1486 // notified when the counter is disabled by |m_muteCount| or | 1488 // notified when the counter is disabled by |m_muteCount| or |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 // Tracks what features/properties need to be reported to the legacy | 1578 // Tracks what features/properties need to be reported to the legacy |
| 1577 // histograms. | 1579 // histograms. |
| 1578 BitVector m_featureBits; | 1580 BitVector m_featureBits; |
| 1579 BitVector m_CSSBits; | 1581 BitVector m_CSSBits; |
| 1580 } m_legacyCounter; | 1582 } m_legacyCounter; |
| 1581 }; | 1583 }; |
| 1582 | 1584 |
| 1583 } // namespace blink | 1585 } // namespace blink |
| 1584 | 1586 |
| 1585 #endif // UseCounter_h | 1587 #endif // UseCounter_h |
| OLD | NEW |