summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 01:24:05 +0000
committerimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 01:24:05 +0000
commit9fcf1a6e49181ad68d90c6f22f496ca2aebd48aa (patch)
treed2f6c93c66add6a334c2c2ee3a4d83b0441c46ca /LICENSE
parent382aa7e9162ba5700496bb186043806a6f27d591 (diff)
downloadchromium_src-9fcf1a6e49181ad68d90c6f22f496ca2aebd48aa.zip
chromium_src-9fcf1a6e49181ad68d90c6f22f496ca2aebd48aa.tar.gz
chromium_src-9fcf1a6e49181ad68d90c6f22f496ca2aebd48aa.tar.bz2
Cast: Remove LoggingStats in favor of event subscribers.
Removed LoggingStats class and replaced them with StatsEventSubscriber. StatsEventSubscriber differs in that the type of event to listen to (audio / video / other) is determined at construction. The API to get the stats map changed as well - caller now passes in an empty map that will get assigned with the data. These changes are in line with the EncodingEventSubscriber. The logic to calculate stats remains the same as LoggingStats, though this will probably change in the future. Stats can be reset as well via Reset(). In addition since stats gathering now depends on collection of raw events (which is enabled everywhere), the flag to enable stats collection in CastLoggingConfig has been removed. Removed CastLoggingConfig struct - logging is enabled always now. There are no use cases where it should be disabled. BUG=353019 Review URL: https://codereview.chromium.org/210303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions