| 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 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1589 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975, | 1589 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975, |
| 1590 kPaymentRequestNetworkNameInSupportedMethods = 1976, | 1590 kPaymentRequestNetworkNameInSupportedMethods = 1976, |
| 1591 kCrossOriginPropertyAccess = 1977, | 1591 kCrossOriginPropertyAccess = 1977, |
| 1592 kCrossOriginPropertyAccessFromOpener = 1978, | 1592 kCrossOriginPropertyAccessFromOpener = 1978, |
| 1593 kCredentialManagerCreate = 1979, | 1593 kCredentialManagerCreate = 1979, |
| 1594 kWebDatabaseCreateDropFTS3Table = 1980, | 1594 kWebDatabaseCreateDropFTS3Table = 1980, |
| 1595 kFieldEditInSecureContext = 1981, | 1595 kFieldEditInSecureContext = 1981, |
| 1596 kFieldEditInNonSecureContext = 1982, | 1596 kFieldEditInNonSecureContext = 1982, |
| 1597 kCredentialManagerCredentialRequestOptionsUnmediated = 1983, | 1597 kCredentialManagerCredentialRequestOptionsUnmediated = 1983, |
| 1598 kCredentialManagerGetMediationRequired = 1984, | 1598 kCredentialManagerGetMediationRequired = 1984, |
| 1599 kCredentialManagerIdName = 1985, |
| 1600 kCredentialManagerPasswordName = 1986, |
| 1601 kCredentialManagerAdditionalData = 1987, |
| 1602 kCredentialManagerCustomFetch = 1988, |
| 1599 | 1603 |
| 1600 // Add new features immediately above this line. Don't change assigned | 1604 // Add new features immediately above this line. Don't change assigned |
| 1601 // numbers of any item, and don't reuse removed slots. | 1605 // numbers of any item, and don't reuse removed slots. |
| 1602 // Also, run update_use_counter_feature_enum.py in | 1606 // Also, run update_use_counter_feature_enum.py in |
| 1603 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1607 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1604 kNumberOfFeatures, // This enum value must be last. | 1608 kNumberOfFeatures, // This enum value must be last. |
| 1605 }; | 1609 }; |
| 1606 | 1610 |
| 1607 // An interface to observe UseCounter changes. Note that this is never | 1611 // An interface to observe UseCounter changes. Note that this is never |
| 1608 // notified when the counter is disabled by |m_muteCount| or when |m_context| | 1612 // notified when the counter is disabled by |m_muteCount| or when |m_context| |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 // Tracks what features/properties need to be reported to the legacy | 1710 // Tracks what features/properties need to be reported to the legacy |
| 1707 // histograms. | 1711 // histograms. |
| 1708 BitVector feature_bits_; | 1712 BitVector feature_bits_; |
| 1709 BitVector css_bits_; | 1713 BitVector css_bits_; |
| 1710 } legacy_counter_; | 1714 } legacy_counter_; |
| 1711 }; | 1715 }; |
| 1712 | 1716 |
| 1713 } // namespace blink | 1717 } // namespace blink |
| 1714 | 1718 |
| 1715 #endif // UseCounter_h | 1719 #endif // UseCounter_h |
| OLD | NEW |