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

Side by Side Diff: media/cast/logging/stats_converter.h

Issue 184853003: Cast: Add GetStats() extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add files Created 6 years, 9 months 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698