| 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 | |
| 1218 CrossOriginWindowAlert = 1411, | 1217 CrossOriginWindowAlert = 1411, |
| 1219 CrossOriginWindowConfirm = 1412, | 1218 CrossOriginWindowConfirm = 1412, |
| 1220 CrossOriginWindowPrompt = 1413, | 1219 CrossOriginWindowPrompt = 1413, |
| 1221 CrossOriginWindowPrint = 1414, | 1220 CrossOriginWindowPrint = 1414, |
| 1221 MediaStreamOnActive = 1415, |
| 1222 MediaStreamOnInactive = 1416, |
| 1222 | 1223 |
| 1223 // Add new features immediately above this line. Don't change assigned | 1224 // Add new features immediately above this line. Don't change assigned |
| 1224 // numbers of any item, and don't reuse removed slots. | 1225 // numbers of any item, and don't reuse removed slots. |
| 1225 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1226 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1226 // to update the UMA mapping. | 1227 // to update the UMA mapping. |
| 1227 NumberOfFeatures, // This enum value must be last. | 1228 NumberOfFeatures, // This enum value must be last. |
| 1228 }; | 1229 }; |
| 1229 | 1230 |
| 1230 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1231 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1231 static void count(const Frame*, Feature); | 1232 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1306 friend class UseCounterTest; | 1307 friend class UseCounterTest; |
| 1307 static int m_muteCount; | 1308 static int m_muteCount; |
| 1308 | 1309 |
| 1309 CountBits m_countBits; | 1310 CountBits m_countBits; |
| 1310 BitVector m_CSSFeatureBits; | 1311 BitVector m_CSSFeatureBits; |
| 1311 }; | 1312 }; |
| 1312 | 1313 |
| 1313 } // namespace blink | 1314 } // namespace blink |
| 1314 | 1315 |
| 1315 #endif // UseCounter_h | 1316 #endif // UseCounter_h |
| OLD | NEW |