| 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 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1428 BaseElement = 1758, | 1428 BaseElement = 1758, |
| 1429 BaseWithCrossOriginHref = 1759, | 1429 BaseWithCrossOriginHref = 1759, |
| 1430 BaseWithDataHref = 1760, | 1430 BaseWithDataHref = 1760, |
| 1431 BaseWithNewlinesInTarget = 1761, | 1431 BaseWithNewlinesInTarget = 1761, |
| 1432 BaseWithOpenBracketInTarget = 1762, | 1432 BaseWithOpenBracketInTarget = 1762, |
| 1433 BaseWouldBeBlockedByDefaultSrc = 1763, | 1433 BaseWouldBeBlockedByDefaultSrc = 1763, |
| 1434 V8AssigmentExpressionLHSIsCallInSloppy = 1764, | 1434 V8AssigmentExpressionLHSIsCallInSloppy = 1764, |
| 1435 V8AssigmentExpressionLHSIsCallInStrict = 1765, | 1435 V8AssigmentExpressionLHSIsCallInStrict = 1765, |
| 1436 V8PromiseConstructorReturnedUndefined = 1766, | 1436 V8PromiseConstructorReturnedUndefined = 1766, |
| 1437 FormSubmittedWithUnclosedFormControl = 1767, | 1437 FormSubmittedWithUnclosedFormControl = 1767, |
| 1438 DocumentCompleteURLContainingNewline = 1768, |
| 1439 DocumentCompleteURLContainingOpenBrace = 1769, |
| 1440 DocumentCompleteURLContainingNewlineAndOpenBrace = 1770, |
| 1438 | 1441 |
| 1439 // Add new features immediately above this line. Don't change assigned | 1442 // Add new features immediately above this line. Don't change assigned |
| 1440 // numbers of any item, and don't reuse removed slots. | 1443 // numbers of any item, and don't reuse removed slots. |
| 1441 // Also, run update_use_counter_feature_enum.py in | 1444 // Also, run update_use_counter_feature_enum.py in |
| 1442 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1445 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1443 NumberOfFeatures, // This enum value must be last. | 1446 NumberOfFeatures, // This enum value must be last. |
| 1444 }; | 1447 }; |
| 1445 | 1448 |
| 1446 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1449 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1447 static void count(const Frame*, Feature); | 1450 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 // Tracks what features/properties need to be reported to the legacy | 1519 // Tracks what features/properties need to be reported to the legacy |
| 1517 // histograms. | 1520 // histograms. |
| 1518 BitVector m_featureBits; | 1521 BitVector m_featureBits; |
| 1519 BitVector m_CSSBits; | 1522 BitVector m_CSSBits; |
| 1520 } m_legacyCounter; | 1523 } m_legacyCounter; |
| 1521 }; | 1524 }; |
| 1522 | 1525 |
| 1523 } // namespace blink | 1526 } // namespace blink |
| 1524 | 1527 |
| 1525 #endif // UseCounter_h | 1528 #endif // UseCounter_h |
| OLD | NEW |