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

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

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding scoped_ptr include Created 7 years, 1 month 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_raw.cc ('k') | media/cast/logging/logging_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_stats.h
diff --git a/media/cast/logging/logging_stats.h b/media/cast/logging/logging_stats.h
index e5595476fa4a58a6cf1afcac292165d29b0c9877..f08649cc777eb56da870272dd6e27e7fc26dc8f4 100644
--- a/media/cast/logging/logging_stats.h
+++ b/media/cast/logging/logging_stats.h
@@ -13,8 +13,6 @@
namespace media {
namespace cast {
-const int kNumberOfEvents = 19;
-
class LoggingStats {
public:
explicit LoggingStats(base::TickClock* clock);
@@ -42,7 +40,7 @@ class LoggingStats {
uint32 frame_id,
uint16 packet_id,
uint16 max_packet_id,
- int size);
+ size_t size);
void InsertGenericEvent(CastLoggingEvent event, int value);
@@ -62,9 +60,9 @@ class LoggingStats {
PacketStatsMap packet_stats_;
GenericStatsMap generic_stats_;
// Every event has an individual start time
- base::TimeTicks start_time_[kNumberOfEvents];
+ base::TimeTicks start_time_[kNumOfLoggingEvents];
// Keep track of event counts.
- int counts_[kNumberOfEvents];
+ int counts_[kNumOfLoggingEvents];
base::TickClock* const clock_; // Not owned by this class.
DISALLOW_COPY_AND_ASSIGN(LoggingStats);
« no previous file with comments | « media/cast/logging/logging_raw.cc ('k') | media/cast/logging/logging_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698