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

Side by Side Diff: content/renderer/media/webrtc/processed_local_audio_source.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/processed_local_audio_source.h" 5 #include "content/renderer/media/webrtc/processed_local_audio_source.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "content/renderer/media/audio_device_factory.h" 10 #include "content/renderer/media/audio_device_factory.h"
11 #include "content/renderer/media/media_stream_audio_processor_options.h" 11 #include "content/renderer/media/media_stream_audio_processor_options.h"
12 #include "content/renderer/media/media_stream_constraints_util.h" 12 #include "content/renderer/media/media_stream_constraints_util.h"
13 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" 13 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h"
14 #include "content/renderer/media/webrtc_audio_device_impl.h" 14 #include "content/renderer/media/webrtc_audio_device_impl.h"
15 #include "content/renderer/media/webrtc_logging.h" 15 #include "content/renderer/media/webrtc_logging.h"
16 #include "content/renderer/render_frame_impl.h" 16 #include "content/renderer/render_frame_impl.h"
17 #include "media/audio/sample_rates.h" 17 #include "media/audio/sample_rates.h"
18 #include "media/base/channel_layout.h" 18 #include "media/base/channel_layout.h"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 366
367 // If the buffer size is missing from the StreamDeviceInfo, provide 10ms as a 367 // If the buffer size is missing from the StreamDeviceInfo, provide 10ms as a
368 // fall-back. 368 // fall-back.
369 // 369 //
370 // TODO(miu): Identify where/why the buffer size might be missing, fix the 370 // TODO(miu): Identify where/why the buffer size might be missing, fix the
371 // code, and then require it here. http://crbug.com/638081 371 // code, and then require it here. http://crbug.com/638081
372 return (sample_rate / 100); 372 return (sample_rate / 100);
373 } 373 }
374 374
375 } // namespace content 375 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/video_track_adapter.cc ('k') | content/renderer/media/webrtc/stun_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698