| Index: media/cast/logging/stats_util.h
|
| diff --git a/media/cast/logging/stats_util.h b/media/cast/logging/stats_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bbac273c3267e54c932717a7a4fe1289c58259e4
|
| --- /dev/null
|
| +++ b/media/cast/logging/stats_util.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef MEDIA_CAST_LOGGING_STATS_UTIL_H_
|
| +#define MEDIA_CAST_LOGGING_STATS_UTIL_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "media/cast/logging/logging_defines.h"
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +namespace media {
|
| +namespace cast {
|
| +
|
| +// Converts stats provided in |frame_stats_map| and |packet_stats_map| to
|
| +// base::DictionaryValue format. See .cc file for the exact structure.
|
| +scoped_ptr<base::DictionaryValue> ConvertStats(
|
| + const FrameStatsMap& frame_stats_map,
|
| + const PacketStatsMap& packet_stats_map);
|
| +
|
| +} // namespace cast
|
| +} // namespace media
|
| +
|
| +#endif // MEDIA_CAST_LOGGING_STATS_UTIL_H_
|
|
|