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

Side by Side Diff: chromecast/media/cma/backend/media_component_device_default.cc

Issue 1165333003: Remove unnecessary message_loop_proxy.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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 | « cc/trees/proxy.cc ('k') | components/nacl/renderer/progress_event.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chromecast/media/cma/backend/media_component_device_default.h" 5 #include "chromecast/media/cma/backend/media_component_device_default.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
12 #include "chromecast/media/cma/base/decoder_buffer_base.h" 11 #include "chromecast/media/cma/base/decoder_buffer_base.h"
13 #include "media/base/buffers.h" 12 #include "media/base/buffers.h"
14 13
15 namespace chromecast { 14 namespace chromecast {
16 namespace media { 15 namespace media {
17 16
18 namespace { 17 namespace {
19 18
20 // Maximum number of frames that can be buffered. 19 // Maximum number of frames that can be buffered.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Note: what is returned here is not the number of samples but the number of 180 // Note: what is returned here is not the number of samples but the number of
182 // frames. The value is different for audio. 181 // frames. The value is different for audio.
183 stats->decoded_bytes = decoded_byte_count_; 182 stats->decoded_bytes = decoded_byte_count_;
184 stats->decoded_samples = decoded_frame_count_; 183 stats->decoded_samples = decoded_frame_count_;
185 stats->dropped_samples = 0; 184 stats->dropped_samples = 0;
186 return true; 185 return true;
187 } 186 }
188 187
189 } // namespace media 188 } // namespace media
190 } // namespace chromecast 189 } // namespace chromecast
OLDNEW
« no previous file with comments | « cc/trees/proxy.cc ('k') | components/nacl/renderer/progress_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698