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