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 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1596 kCredentialManagerIdName = 1985, | 1596 kCredentialManagerIdName = 1985, |
1597 kCredentialManagerPasswordName = 1986, | 1597 kCredentialManagerPasswordName = 1986, |
1598 kCredentialManagerAdditionalData = 1987, | 1598 kCredentialManagerAdditionalData = 1987, |
1599 kCredentialManagerCustomFetch = 1988, | 1599 kCredentialManagerCustomFetch = 1988, |
1600 kNetInfoRtt = 1989, | 1600 kNetInfoRtt = 1989, |
1601 kNetInfoDownlink = 1990, | 1601 kNetInfoDownlink = 1990, |
1602 kShapeDetection_BarcodeDetectorConstructor = 1991, | 1602 kShapeDetection_BarcodeDetectorConstructor = 1991, |
1603 kShapeDetection_FaceDetectorConstructor = 1992, | 1603 kShapeDetection_FaceDetectorConstructor = 1992, |
1604 kShapeDetection_TextDetectorConstructor = 1993, | 1604 kShapeDetection_TextDetectorConstructor = 1993, |
1605 kCredentialManagerCredentialRequestOptionsOnlyUnmediated = 1994, | 1605 kCredentialManagerCredentialRequestOptionsOnlyUnmediated = 1994, |
1606 | 1606 kClientHintsDeviceRam = 1995, |
Yoav Weiss
2017/05/24 07:48:02
s/Ram/RAM/
See https://www.chromium.org/blink/codi
fmeawad
2017/05/24 18:24:56
Done.
| |
1607 // Add new features immediately above this line. Don't change assigned | 1607 // Add new features immediately above this line. Don't change assigned |
1608 // numbers of any item, and don't reuse removed slots. | 1608 // numbers of any item, and don't reuse removed slots. |
1609 // Also, run update_use_counter_feature_enum.py in | 1609 // Also, run update_use_counter_feature_enum.py in |
1610 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1610 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1611 kNumberOfFeatures, // This enum value must be last. | 1611 kNumberOfFeatures, // This enum value must be last. |
1612 }; | 1612 }; |
1613 | 1613 |
1614 // An interface to observe UseCounter changes. Note that this is never | 1614 // An interface to observe UseCounter changes. Note that this is never |
1615 // notified when the counter is disabled by |m_muteCount| or when |m_context| | 1615 // notified when the counter is disabled by |m_muteCount| or when |m_context| |
1616 // is kDisabledContext. | 1616 // is kDisabledContext. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1713 // Tracks what features/properties need to be reported to the legacy | 1713 // Tracks what features/properties need to be reported to the legacy |
1714 // histograms. | 1714 // histograms. |
1715 BitVector feature_bits_; | 1715 BitVector feature_bits_; |
1716 BitVector css_bits_; | 1716 BitVector css_bits_; |
1717 } legacy_counter_; | 1717 } legacy_counter_; |
1718 }; | 1718 }; |
1719 | 1719 |
1720 } // namespace blink | 1720 } // namespace blink |
1721 | 1721 |
1722 #endif // UseCounter_h | 1722 #endif // UseCounter_h |
OLD | NEW |