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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 MediaStreamEnded = 526, | 495 MediaStreamEnded = 526, |
496 MixedContentPrivateIPInPublicWebsitePassive = 527, | 496 MixedContentPrivateIPInPublicWebsitePassive = 527, |
497 MixedContentPrivateIPInPublicWebsiteActive = 528, | 497 MixedContentPrivateIPInPublicWebsiteActive = 528, |
498 XMLExternalResourceLoad = 529, | 498 XMLExternalResourceLoad = 529, |
499 MixedContentPrivateHostnameInPublicHostname = 530, | 499 MixedContentPrivateHostnameInPublicHostname = 530, |
500 LegacyProtocolEmbeddedAsSubresource = 531, | 500 LegacyProtocolEmbeddedAsSubresource = 531, |
501 RequestedSubresourceWithEmbeddedCredentials = 532, | 501 RequestedSubresourceWithEmbeddedCredentials = 532, |
502 NotificationCreated = 533, | 502 NotificationCreated = 533, |
503 NotificationClosed = 534, | 503 NotificationClosed = 534, |
504 NotificationPermissionRequested = 535, | 504 NotificationPermissionRequested = 535, |
| 505 MediaStreamLabel = 536, |
| 506 MediaStreamStop = 537, |
505 | 507 |
506 // Add new features immediately above this line. Don't change assigned | 508 // Add new features immediately above this line. Don't change assigned |
507 // numbers of any item, and don't reuse removed slots. | 509 // numbers of any item, and don't reuse removed slots. |
508 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 510 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
509 // to update the UMA mapping. | 511 // to update the UMA mapping. |
510 NumberOfFeatures, // This enum value must be last. | 512 NumberOfFeatures, // This enum value must be last. |
511 }; | 513 }; |
512 | 514 |
513 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 515 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
514 static void count(const Document&, Feature); | 516 static void count(const Document&, Feature); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 568 |
567 void updateMeasurements(); | 569 void updateMeasurements(); |
568 | 570 |
569 OwnPtr<BitVector> m_countBits; | 571 OwnPtr<BitVector> m_countBits; |
570 BitVector m_CSSFeatureBits; | 572 BitVector m_CSSFeatureBits; |
571 }; | 573 }; |
572 | 574 |
573 } // namespace blink | 575 } // namespace blink |
574 | 576 |
575 #endif // UseCounter_h | 577 #endif // UseCounter_h |
OLD | NEW |