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

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

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « media/cast/logging/log_deserializer.cc ('k') | media/cast/net/cast_transport_sender_impl.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/simple_event_subscriber.h" 5 #include "media/cast/logging/simple_event_subscriber.h"
6 6
7 #include <vector>
8 7
9 #include "base/logging.h" 8 #include "base/logging.h"
10 9
11 namespace media { 10 namespace media {
12 namespace cast { 11 namespace cast {
13 12
14 SimpleEventSubscriber::SimpleEventSubscriber() {} 13 SimpleEventSubscriber::SimpleEventSubscriber() {}
15 14
16 SimpleEventSubscriber::~SimpleEventSubscriber() { 15 SimpleEventSubscriber::~SimpleEventSubscriber() {
17 DCHECK(thread_checker_.CalledOnValidThread()); 16 DCHECK(thread_checker_.CalledOnValidThread());
(...skipping 19 matching lines...) Expand all
37 36
38 void SimpleEventSubscriber::GetPacketEventsAndReset( 37 void SimpleEventSubscriber::GetPacketEventsAndReset(
39 std::vector<PacketEvent>* packet_events) { 38 std::vector<PacketEvent>* packet_events) {
40 DCHECK(thread_checker_.CalledOnValidThread()); 39 DCHECK(thread_checker_.CalledOnValidThread());
41 packet_events->swap(packet_events_); 40 packet_events->swap(packet_events_);
42 packet_events_.clear(); 41 packet_events_.clear();
43 } 42 }
44 43
45 } // namespace cast 44 } // namespace cast
46 } // namespace media 45 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/logging/log_deserializer.cc ('k') | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698