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

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

Issue 868753004: Mechanical rename of tracing includes for /media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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/blink/webmediaplayer_impl.cc ('k') | media/cast/receiver/cast_receiver_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/big_endian.h" 5 #include "base/big_endian.h"
6 #include "base/debug/trace_event.h" 6 #include "base/trace_event/trace_event.h"
7 #include "media/cast/logging/logging_impl.h" 7 #include "media/cast/logging/logging_impl.h"
8 8
9 namespace media { 9 namespace media {
10 namespace cast { 10 namespace cast {
11 11
12 // TODO(imcheng): Collapse LoggingRaw onto LoggingImpl. 12 // TODO(imcheng): Collapse LoggingRaw onto LoggingImpl.
13 LoggingImpl::LoggingImpl() { 13 LoggingImpl::LoggingImpl() {
14 // LoggingImpl can be constructed on any thread, but its methods should all be 14 // LoggingImpl can be constructed on any thread, but its methods should all be
15 // called on the same thread. 15 // called on the same thread.
16 thread_checker_.DetachFromThread(); 16 thread_checker_.DetachFromThread();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 raw_.AddSubscriber(subscriber); 106 raw_.AddSubscriber(subscriber);
107 } 107 }
108 108
109 void LoggingImpl::RemoveRawEventSubscriber(RawEventSubscriber* subscriber) { 109 void LoggingImpl::RemoveRawEventSubscriber(RawEventSubscriber* subscriber) {
110 DCHECK(thread_checker_.CalledOnValidThread()); 110 DCHECK(thread_checker_.CalledOnValidThread());
111 raw_.RemoveSubscriber(subscriber); 111 raw_.RemoveSubscriber(subscriber);
112 } 112 }
113 113
114 } // namespace cast 114 } // namespace cast
115 } // namespace media 115 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | media/cast/receiver/cast_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698