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

Unified Diff: media/cast/logging/logging_impl.h

Issue 210303003: Cast: Remove LoggingStats in favor of event subscribers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/logging/logging_defines.cc ('k') | media/cast/logging/logging_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_impl.h
diff --git a/media/cast/logging/logging_impl.h b/media/cast/logging/logging_impl.h
index 7b5c62fb20834dfc5e6257494128b282030eeda3..5b35dffe476109a8c4041e5c9b9b481fc781fbb5 100644
--- a/media/cast/logging/logging_impl.h
+++ b/media/cast/logging/logging_impl.h
@@ -14,15 +14,13 @@
#include "media/cast/cast_config.h"
#include "media/cast/logging/logging_defines.h"
#include "media/cast/logging/logging_raw.h"
-#include "media/cast/logging/logging_stats.h"
namespace media {
namespace cast {
class LoggingImpl {
public:
- explicit LoggingImpl(const CastLoggingConfig& config);
-
+ LoggingImpl();
~LoggingImpl();
// Note: All methods below should be called from the same thread.
@@ -61,19 +59,9 @@ class LoggingImpl {
// Delegates to |LoggingRaw::RemoveRawEventSubscriber()|.
void RemoveRawEventSubscriber(RawEventSubscriber* subscriber);
- // Get stats only.
- FrameStatsMap GetFrameStatsData(EventMediaType media_type) const;
- PacketStatsMap GetPacketStatsData(EventMediaType media_type) const;
- GenericStatsMap GetGenericStatsData() const;
-
- // Reset stats logging data.
- void ResetStats();
-
private:
base::ThreadChecker thread_checker_;
- const CastLoggingConfig config_;
LoggingRaw raw_;
- LoggingStats stats_;
DISALLOW_COPY_AND_ASSIGN(LoggingImpl);
};
« no previous file with comments | « media/cast/logging/logging_defines.cc ('k') | media/cast/logging/logging_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698