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.
5 #ifndef MEDIA_CAST_LOGGING_STATS_UTIL_H_
6 #define MEDIA_CAST_LOGGING_STATS_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "media/cast/logging/logging_defines.h"
12 class DictionaryValue;
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);
27 #endif // MEDIA_CAST_LOGGING_STATS_UTIL_H_