Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2810233003: Count usage of mediastream audio and video constraints. (Closed)
Patch Set: fix bug that broke bots, add new counters Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 kOrientationSensorPopulateMatrix = 1908, 1525 kOrientationSensorPopulateMatrix = 1908,
1526 kWindowOpenWithInvalidURL = 1909, 1526 kWindowOpenWithInvalidURL = 1909,
1527 kCrossOriginMainFrameNulledNameAccessed = 1910, 1527 kCrossOriginMainFrameNulledNameAccessed = 1910,
1528 kMenuItemElementIconAttribute = 1911, 1528 kMenuItemElementIconAttribute = 1911,
1529 kWebkitCSSMatrixSetMatrixValue = 1912, 1529 kWebkitCSSMatrixSetMatrixValue = 1912,
1530 kWebkitCSSMatrixConstructFromString = 1913, 1530 kWebkitCSSMatrixConstructFromString = 1913,
1531 kCanRequestURLHTTPContainingNewline = 1914, 1531 kCanRequestURLHTTPContainingNewline = 1914,
1532 kCanRequestURLNonHTTPContainingNewline = 1915, 1532 kCanRequestURLNonHTTPContainingNewline = 1915,
1533 kGetGamepads = 1916, 1533 kGetGamepads = 1916,
1534 kV8SVGPathElement_GetPathSegAtLength_Method = 1917, 1534 kV8SVGPathElement_GetPathSegAtLength_Method = 1917,
1535 kMediaStreamConstraintsAudio = 1918,
1536 kMediaStreamConstraintsAudioUnconstrained = 1919,
1537 kMediaStreamConstraintsVideo = 1920,
1538 kMediaStreamConstraintsVideoUnconstrained = 1921,
1539 kMediaStreamConstraintsWidth = 1922,
1540 kMediaStreamConstraintsHeight = 1923,
1541 kMediaStreamConstraintsAspectRatio = 1924,
1542 kMediaStreamConstraintsFrameRate = 1925,
1543 kMediaStreamConstraintsFacingMode = 1926,
1544 kMediaStreamConstraintsVolume = 1927,
1545 kMediaStreamConstraintsSampleRate = 1928,
1546 kMediaStreamConstraintsSampleSize = 1929,
1547 kMediaStreamConstraintsEchoCancellation = 1930,
1548 kMediaStreamConstraintsLatency = 1931,
1549 kMediaStreamConstraintsChannelCount = 1932,
1550 kMediaStreamConstraintsDeviceIdAudio = 1933,
1551 kMediaStreamConstraintsDeviceIdVideo = 1934,
1552 kMediaStreamConstraintsDisableLocalEcho = 1935,
1553 kMediaStreamConstraintsGroupIdAudio = 1936,
1554 kMediaStreamConstraintsGroupIdVideo = 1937,
1555 kMediaStreamConstraintsVideoKind = 1938,
1556 kMediaStreamConstraintsDepthNear = 1939,
1557 kMediaStreamConstraintsDepthFar = 1940,
1558 kMediaStreamConstraintsFocalLengthX = 1941,
1559 kMediaStreamConstraintsFocalLengthY = 1942,
1560 kMediaStreamConstraintsMediaStreamSourceAudio = 1943,
1561 kMediaStreamConstraintsMediaStreamSourceVideo = 1944,
1562 kMediaStreamConstraintsRenderToAssociatedSink = 1945,
1563 kMediaStreamConstraintsHotwordEnabled = 1946,
1564 kMediaStreamConstraintsGoogEchoCancellation = 1947,
1565 kMediaStreamConstraintsGoogExperimentalEchoCancellation = 1948,
1566 kMediaStreamConstraintsGoogAutoGainControl = 1949,
1567 kMediaStreamConstraintsGoogExperimentalAutoGainControl = 1950,
1568 kMediaStreamConstraintsGoogNoiseSuppression = 1951,
1569 kMediaStreamConstraintsGoogHighpassFilter = 1952,
1570 kMediaStreamConstraintsGoogTypingNoiseDetection = 1953,
1571 kMediaStreamConstraintsGoogExperimentalNoiseSuppression = 1954,
1572 kMediaStreamConstraintsGoogBeamforming = 1955,
1573 kMediaStreamConstraintsGoogArrayGeometry = 1956,
1574 kMediaStreamConstraintsGoogAudioMirroring = 1957,
1575 kMediaStreamConstraintsGoogDAEchoCancellation = 1958,
1576 kMediaStreamConstraintsGoogNoiseReduction = 1959,
1577 kMediaStreamConstraintsGoogPowerLineFrequency = 1960,
1535 1578
1536 // Add new features immediately above this line. Don't change assigned 1579 // Add new features immediately above this line. Don't change assigned
1537 // numbers of any item, and don't reuse removed slots. 1580 // numbers of any item, and don't reuse removed slots.
1538 // Also, run update_use_counter_feature_enum.py in 1581 // Also, run update_use_counter_feature_enum.py in
1539 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1582 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1540 kNumberOfFeatures, // This enum value must be last. 1583 kNumberOfFeatures, // This enum value must be last.
1541 }; 1584 };
1542 1585
1543 // An interface to observe UseCounter changes. Note that this is never 1586 // An interface to observe UseCounter changes. Note that this is never
1544 // notified when the counter is disabled by |m_muteCount| or 1587 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 // Tracks what features/properties need to be reported to the legacy 1687 // Tracks what features/properties need to be reported to the legacy
1645 // histograms. 1688 // histograms.
1646 BitVector feature_bits_; 1689 BitVector feature_bits_;
1647 BitVector css_bits_; 1690 BitVector css_bits_;
1648 } legacy_counter_; 1691 } legacy_counter_;
1649 }; 1692 };
1650 1693
1651 } // namespace blink 1694 } // namespace blink
1652 1695
1653 #endif // UseCounter_h 1696 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698