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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 SVGSVGElementInDocument, | 315 SVGSVGElementInDocument, |
316 SVGDocumentRootElement, | 316 SVGDocumentRootElement, |
317 DocumentCreateEventOptionalArgument, | 317 DocumentCreateEventOptionalArgument, |
318 MediaErrorEncrypted, | 318 MediaErrorEncrypted, |
319 EventSourceURL, | 319 EventSourceURL, |
320 WebSocketURL, | 320 WebSocketURL, |
321 UnsafeEvalBlocksCSSOM, | 321 UnsafeEvalBlocksCSSOM, |
322 WorkerSubjectToCSP, | 322 WorkerSubjectToCSP, |
323 WorkerAllowedByChildBlockedByScript, | 323 WorkerAllowedByChildBlockedByScript, |
324 HTMLMediaElementControllerNotNull, | 324 HTMLMediaElementControllerNotNull, |
| 325 PromiseConstructor, |
| 326 PromiseCast, |
| 327 PromiseReject, |
| 328 PromiseResolve, |
325 // Add new features immediately above this line. Don't change assigned | 329 // Add new features immediately above this line. Don't change assigned |
326 // numbers of any item, and don't reuse removed slots. | 330 // numbers of any item, and don't reuse removed slots. |
327 NumberOfFeatures, // This enum value must be last. | 331 NumberOfFeatures, // This enum value must be last. |
328 }; | 332 }; |
329 | 333 |
330 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 334 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
331 static void count(const Document&, Feature); | 335 static void count(const Document&, Feature); |
332 static void count(const ExecutionContext*, Feature); | 336 static void count(const ExecutionContext*, Feature); |
333 void count(CSSParserContext, CSSPropertyID); | 337 void count(CSSParserContext, CSSPropertyID); |
334 void count(Feature); | 338 void count(Feature); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 | 374 |
371 void updateMeasurements(); | 375 void updateMeasurements(); |
372 | 376 |
373 OwnPtr<BitVector> m_countBits; | 377 OwnPtr<BitVector> m_countBits; |
374 BitVector m_CSSFeatureBits; | 378 BitVector m_CSSFeatureBits; |
375 }; | 379 }; |
376 | 380 |
377 } // namespace WebCore | 381 } // namespace WebCore |
378 | 382 |
379 #endif // UseCounter_h | 383 #endif // UseCounter_h |
OLD | NEW |