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

Side by Side Diff: media/blink/webaudiosourceprovider_impl.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 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 | « ipc/ipc_test_base.cc ('k') | media/cast/test/receiver.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 "media/blink/webaudiosourceprovider_impl.h" 5 #include "media/blink/webaudiosourceprovider_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_task_runner_handle.h"
16 #include "media/audio/null_audio_sink.h" 17 #include "media/audio/null_audio_sink.h"
17 #include "media/base/audio_timestamp_helper.h" 18 #include "media/base/audio_timestamp_helper.h"
18 #include "media/base/bind_to_current_loop.h" 19 #include "media/base/bind_to_current_loop.h"
19 #include "media/base/media_log.h" 20 #include "media/base/media_log.h"
20 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h" 21 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h"
21 22
22 using blink::WebVector; 23 using blink::WebVector;
23 24
24 namespace media { 25 namespace media {
25 26
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 331
331 return num_rendered_frames; 332 return num_rendered_frames;
332 } 333 }
333 334
334 void WebAudioSourceProviderImpl::TeeFilter::OnRenderError() { 335 void WebAudioSourceProviderImpl::TeeFilter::OnRenderError() {
335 DCHECK(IsInitialized()); 336 DCHECK(IsInitialized());
336 renderer_->OnRenderError(); 337 renderer_->OnRenderError();
337 } 338 }
338 339
339 } // namespace media 340 } // namespace media
OLDNEW
« no previous file with comments | « ipc/ipc_test_base.cc ('k') | media/cast/test/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698