| 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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 GetUserMediaLegacy = 1401, | 1207 GetUserMediaLegacy = 1401, |
| 1208 GetUserMediaPromise = 1402, | 1208 GetUserMediaPromise = 1402, |
| 1209 CSSFilterFunctionNoArguments = 1403, | 1209 CSSFilterFunctionNoArguments = 1403, |
| 1210 V8LegacyDateParser = 1404, | 1210 V8LegacyDateParser = 1404, |
| 1211 OpenSearchInsecureOriginInsecureTarget = 1405, | 1211 OpenSearchInsecureOriginInsecureTarget = 1405, |
| 1212 OpenSearchInsecureOriginSecureTarget = 1406, | 1212 OpenSearchInsecureOriginSecureTarget = 1406, |
| 1213 OpenSearchSecureOriginInsecureTarget = 1407, | 1213 OpenSearchSecureOriginInsecureTarget = 1407, |
| 1214 OpenSearchSecureOriginSecureTarget = 1408, | 1214 OpenSearchSecureOriginSecureTarget = 1408, |
| 1215 RegisterProtocolHandlerSecureOrigin = 1409, | 1215 RegisterProtocolHandlerSecureOrigin = 1409, |
| 1216 RegisterProtocolHandlerInsecureOrigin = 1410, | 1216 RegisterProtocolHandlerInsecureOrigin = 1410, |
| 1217 MediaStreamOnActive = 1411, |
| 1218 MediaStreamOnInactive = 1412, |
| 1217 | 1219 |
| 1218 // Add new features immediately above this line. Don't change assigned | 1220 // Add new features immediately above this line. Don't change assigned |
| 1219 // numbers of any item, and don't reuse removed slots. | 1221 // numbers of any item, and don't reuse removed slots. |
| 1220 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1222 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1221 // to update the UMA mapping. | 1223 // to update the UMA mapping. |
| 1222 NumberOfFeatures, // This enum value must be last. | 1224 NumberOfFeatures, // This enum value must be last. |
| 1223 }; | 1225 }; |
| 1224 | 1226 |
| 1225 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1227 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1226 static void count(const Frame*, Feature); | 1228 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 friend class UseCounterTest; | 1303 friend class UseCounterTest; |
| 1302 static int m_muteCount; | 1304 static int m_muteCount; |
| 1303 | 1305 |
| 1304 CountBits m_countBits; | 1306 CountBits m_countBits; |
| 1305 BitVector m_CSSFeatureBits; | 1307 BitVector m_CSSFeatureBits; |
| 1306 }; | 1308 }; |
| 1307 | 1309 |
| 1308 } // namespace blink | 1310 } // namespace blink |
| 1309 | 1311 |
| 1310 #endif // UseCounter_h | 1312 #endif // UseCounter_h |
| OLD | NEW |