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 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 1152 During_Microtask_Alert = 1334, |
1153 During_Microtask_Confirm = 1335, | 1153 During_Microtask_Confirm = 1335, |
1154 During_Microtask_Print = 1336, | 1154 During_Microtask_Print = 1336, |
1155 During_Microtask_Prompt = 1337, | 1155 During_Microtask_Prompt = 1337, |
1156 During_Microtask_SyncXHR = 1338, | 1156 During_Microtask_SyncXHR = 1338, |
1157 URLMethodCreateObjectURLServiceWorker = 1339, | 1157 URLMethodCreateObjectURLServiceWorker = 1339, |
1158 URLMethodRevokeObjectURLServiceWorker = 1340, | 1158 URLMethodRevokeObjectURLServiceWorker = 1340, |
| 1159 DocumentCreateEventPaymentRequestUpdateEvent = 1341, |
1159 | 1160 |
1160 // Add new features immediately above this line. Don't change assigned | 1161 // Add new features immediately above this line. Don't change assigned |
1161 // numbers of any item, and don't reuse removed slots. | 1162 // numbers of any item, and don't reuse removed slots. |
1162 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1163 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1163 // to update the UMA mapping. | 1164 // to update the UMA mapping. |
1164 NumberOfFeatures, // This enum value must be last. | 1165 NumberOfFeatures, // This enum value must be last. |
1165 }; | 1166 }; |
1166 | 1167 |
1167 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1168 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1168 static void count(const Frame*, Feature); | 1169 static void count(const Frame*, Feature); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 friend class UseCounterTest; | 1244 friend class UseCounterTest; |
1244 static int m_muteCount; | 1245 static int m_muteCount; |
1245 | 1246 |
1246 CountBits m_countBits; | 1247 CountBits m_countBits; |
1247 BitVector m_CSSFeatureBits; | 1248 BitVector m_CSSFeatureBits; |
1248 }; | 1249 }; |
1249 | 1250 |
1250 } // namespace blink | 1251 } // namespace blink |
1251 | 1252 |
1252 #endif // UseCounter_h | 1253 #endif // UseCounter_h |
OLD | NEW |