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

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

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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 | « content/public/test/browser_test_utils.cc ('k') | content/renderer/render_view_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 "content/renderer/media/media_stream_audio_processor_options.h" 5 #include "content/renderer/media/media_stream_audio_processor_options.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/path_service.h"
13 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
15 #include "base/time/time.h" 14 #include "base/time/time.h"
16 #include "content/common/media/media_stream_options.h" 15 #include "content/common/media/media_stream_options.h"
17 #include "content/renderer/media/media_stream_constraints_util.h" 16 #include "content/renderer/media/media_stream_constraints_util.h"
18 #include "content/renderer/media/media_stream_source.h" 17 #include "content/renderer/media/media_stream_source.h"
19 #include "content/renderer/media/rtc_media_constraints.h" 18 #include "content/renderer/media/rtc_media_constraints.h"
20 #include "media/audio/audio_parameters.h" 19 #include "media/audio/audio_parameters.h"
21 #include "third_party/webrtc/modules/audio_processing/include/audio_processing.h " 20 #include "third_party/webrtc/modules/audio_processing/include/audio_processing.h "
22 #include "third_party/webrtc/modules/audio_processing/typing_detection.h" 21 #include "third_party/webrtc/modules/audio_processing/typing_detection.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 381 }
383 382
384 int median = 0, std = 0; 383 int median = 0, std = 0;
385 if (!audio_processing->echo_cancellation()->GetDelayMetrics(&median, &std)) { 384 if (!audio_processing->echo_cancellation()->GetDelayMetrics(&median, &std)) {
386 stats->echo_delay_median_ms = median; 385 stats->echo_delay_median_ms = median;
387 stats->echo_delay_std_ms = std; 386 stats->echo_delay_std_ms = std;
388 } 387 }
389 } 388 }
390 389
391 } // namespace content 390 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698