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 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 1599 kCredentialManagerIdName = 1985, |
1600 kCredentialManagerPasswordName = 1986, | 1600 kCredentialManagerPasswordName = 1986, |
1601 kCredentialManagerAdditionalData = 1987, | 1601 kCredentialManagerAdditionalData = 1987, |
1602 kCredentialManagerCustomFetch = 1988, | 1602 kCredentialManagerCustomFetch = 1988, |
| 1603 kNetInfoRtt = 1989, |
| 1604 kNetInfoDownlink = 1990, |
1603 | 1605 |
1604 // Add new features immediately above this line. Don't change assigned | 1606 // Add new features immediately above this line. Don't change assigned |
1605 // numbers of any item, and don't reuse removed slots. | 1607 // numbers of any item, and don't reuse removed slots. |
1606 // Also, run update_use_counter_feature_enum.py in | 1608 // Also, run update_use_counter_feature_enum.py in |
1607 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1609 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1608 kNumberOfFeatures, // This enum value must be last. | 1610 kNumberOfFeatures, // This enum value must be last. |
1609 }; | 1611 }; |
1610 | 1612 |
1611 // An interface to observe UseCounter changes. Note that this is never | 1613 // An interface to observe UseCounter changes. Note that this is never |
1612 // notified when the counter is disabled by |m_muteCount| or when |m_context| | 1614 // 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... |
1710 // Tracks what features/properties need to be reported to the legacy | 1712 // Tracks what features/properties need to be reported to the legacy |
1711 // histograms. | 1713 // histograms. |
1712 BitVector feature_bits_; | 1714 BitVector feature_bits_; |
1713 BitVector css_bits_; | 1715 BitVector css_bits_; |
1714 } legacy_counter_; | 1716 } legacy_counter_; |
1715 }; | 1717 }; |
1716 | 1718 |
1717 } // namespace blink | 1719 } // namespace blink |
1718 | 1720 |
1719 #endif // UseCounter_h | 1721 #endif // UseCounter_h |
OLD | NEW |