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