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

Side by Side Diff: media/cast/logging/stats_event_subscriber.cc

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 years, 1 month 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
« no previous file with comments | « media/blink/interval_map.h ('k') | media/filters/vp9_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/logging/stats_event_subscriber.h"
6
7 #include <algorithm>
5 #include <cmath> 8 #include <cmath>
6 9
7 #include "media/cast/logging/stats_event_subscriber.h"
8
9 #include "base/format_macros.h" 10 #include "base/format_macros.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 14
14 #define STAT_ENUM_TO_STRING(enum) \ 15 #define STAT_ENUM_TO_STRING(enum) \
15 case enum: \ 16 case enum: \
16 return #enum 17 return #enum
17 18
18 namespace media { 19 namespace media {
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 : event_counter(0), sum_size(0) {} 747 : event_counter(0), sum_size(0) {}
747 StatsEventSubscriber::PacketLogStats::~PacketLogStats() {} 748 StatsEventSubscriber::PacketLogStats::~PacketLogStats() {}
748 749
749 StatsEventSubscriber::FrameInfo::FrameInfo() : encoded(false) { 750 StatsEventSubscriber::FrameInfo::FrameInfo() : encoded(false) {
750 } 751 }
751 StatsEventSubscriber::FrameInfo::~FrameInfo() { 752 StatsEventSubscriber::FrameInfo::~FrameInfo() {
752 } 753 }
753 754
754 } // namespace cast 755 } // namespace cast
755 } // namespace media 756 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/interval_map.h ('k') | media/filters/vp9_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698