Chromium Code Reviews| 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_CONVERTER_H_ | |
| 6 #define MEDIA_CAST_LOGGING_STATS_CONVERTER_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( | |
|
Alpha Left Google
2014/03/04 21:13:35
Why not move this method to logging_stats.h? It's
imcheng
2014/03/05 00:20:26
Done.
| |
| 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_CONVERTER_H_ | |
| OLD | NEW |