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