| 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 EncryptedMediaAllSelectedContentTypesMissingCodecs = 1324, | 1142 EncryptedMediaAllSelectedContentTypesMissingCodecs = 1324, |
| 1143 V8DataTransferItem_WebkitGetAsEntry_Method = 1325, | 1143 V8DataTransferItem_WebkitGetAsEntry_Method = 1325, |
| 1144 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326, | 1144 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326, |
| 1145 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327, | 1145 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327, |
| 1146 Entry_GetMetadata_Method_IsolatedFileSystem = 1328, | 1146 Entry_GetMetadata_Method_IsolatedFileSystem = 1328, |
| 1147 Entry_MoveTo_Method_IsolatedFileSystem = 1329, | 1147 Entry_MoveTo_Method_IsolatedFileSystem = 1329, |
| 1148 Entry_CopyTo_Method_IsolatedFileSystem = 1330, | 1148 Entry_CopyTo_Method_IsolatedFileSystem = 1330, |
| 1149 Entry_Remove_Method_IsolatedFileSystem = 1331, | 1149 Entry_Remove_Method_IsolatedFileSystem = 1331, |
| 1150 Entry_GetParent_Method_IsolatedFileSystem = 1332, | 1150 Entry_GetParent_Method_IsolatedFileSystem = 1332, |
| 1151 Entry_ToURL_Method_IsolatedFileSystem = 1333, | 1151 Entry_ToURL_Method_IsolatedFileSystem = 1333, |
| 1152 During_Microtask_Alert = 1334, |
| 1153 During_Microtask_Confirm = 1335, |
| 1154 During_Microtask_Print = 1336, |
| 1155 During_Microtask_Prompt = 1337, |
| 1156 During_Microtask_SyncXHR = 1338, |
| 1152 | 1157 |
| 1153 // Add new features immediately above this line. Don't change assigned | 1158 // Add new features immediately above this line. Don't change assigned |
| 1154 // numbers of any item, and don't reuse removed slots. | 1159 // numbers of any item, and don't reuse removed slots. |
| 1155 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1160 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1156 // to update the UMA mapping. | 1161 // to update the UMA mapping. |
| 1157 NumberOfFeatures, // This enum value must be last. | 1162 NumberOfFeatures, // This enum value must be last. |
| 1158 }; | 1163 }; |
| 1159 | 1164 |
| 1160 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1165 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1161 static void count(const Frame*, Feature); | 1166 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 friend class UseCounterTest; | 1241 friend class UseCounterTest; |
| 1237 static int m_muteCount; | 1242 static int m_muteCount; |
| 1238 | 1243 |
| 1239 CountBits m_countBits; | 1244 CountBits m_countBits; |
| 1240 BitVector m_CSSFeatureBits; | 1245 BitVector m_CSSFeatureBits; |
| 1241 }; | 1246 }; |
| 1242 | 1247 |
| 1243 } // namespace blink | 1248 } // namespace blink |
| 1244 | 1249 |
| 1245 #endif // UseCounter_h | 1250 #endif // UseCounter_h |
| OLD | NEW |