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

Side by Side Diff: content/renderer/media/webrtc_audio_renderer.cc

Issue 2303653005: Migrate content/ files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/media/webrtc_audio_renderer.h" 5 #include "content/renderer/media/webrtc_audio_renderer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "content/renderer/media/audio_device_factory.h" 17 #include "content/renderer/media/audio_device_factory.h"
18 #include "content/renderer/media/media_stream_audio_track.h" 18 #include "content/renderer/media/media_stream_audio_track.h"
19 #include "content/renderer/media/webrtc/peer_connection_remote_audio_source.h" 19 #include "content/renderer/media/webrtc/peer_connection_remote_audio_source.h"
20 #include "content/renderer/media/webrtc_logging.h" 20 #include "content/renderer/media/webrtc_logging.h"
21 #include "media/audio/sample_rates.h" 21 #include "media/audio/sample_rates.h"
22 #include "media/base/audio_capturer_source.h" 22 #include "media/base/audio_capturer_source.h"
23 #include "media/base/audio_latency.h" 23 #include "media/base/audio_latency.h"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 sink_params_ = new_sink_params; 668 sink_params_ = new_sink_params;
669 } 669 }
670 670
671 // Specify the latency info to be passed to the browser side. 671 // Specify the latency info to be passed to the browser side.
672 new_sink_params.set_latency_tag(AudioDeviceFactory::GetSourceLatencyType( 672 new_sink_params.set_latency_tag(AudioDeviceFactory::GetSourceLatencyType(
673 AudioDeviceFactory::AudioDeviceFactory::kSourceWebRtc)); 673 AudioDeviceFactory::AudioDeviceFactory::kSourceWebRtc));
674 sink_->Initialize(new_sink_params, this); 674 sink_->Initialize(new_sink_params, this);
675 } 675 }
676 676
677 } // namespace content 677 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_device_impl.cc ('k') | content/renderer/media/webrtc_uma_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698