| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_CAST_LOGGING_STATS_UTIL_H_ | |
| 6 #define MEDIA_CAST_LOGGING_STATS_UTIL_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "media/cast/logging/logging_defines.h" | |
| 10 | |
| 11 namespace base { | |
| 12 class DictionaryValue; | |
| 13 } | |
| 14 | |
| 15 namespace media { | |
| 16 namespace cast { | |
| 17 | |
| 18 // Converts stats provided in |frame_stats_map| and |packet_stats_map| to | |
| 19 // base::DictionaryValue format. See .cc file for the exact structure. | |
| 20 scoped_ptr<base::DictionaryValue> ConvertStats( | |
| 21 const FrameStatsMap& frame_stats_map, | |
| 22 const PacketStatsMap& packet_stats_map); | |
| 23 | |
| 24 } // namespace cast | |
| 25 } // namespace media | |
| 26 | |
| 27 #endif // MEDIA_CAST_LOGGING_STATS_UTIL_H_ | |
| OLD | NEW |