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

Unified Diff: chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc

Issue 83413006: Replace LOG(INFO) with VLOG(0), throughout *media* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase2 Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
diff --git a/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc b/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
index 9ea33cb964771419bca76fc7394a2101d1a69b56..25ee2fa182572f74d1c1cfd3fd54c3d509fbc6c0 100644
--- a/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
+++ b/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
@@ -222,7 +222,7 @@ class AudioRecorder {
command_line.AppendArgPath(output_file);
#endif
- LOG(INFO) << "Running " << command_line.GetCommandLineString();
+ VLOG(0) << "Running " << command_line.GetCommandLineString();
return base::LaunchProcess(command_line, base::LaunchOptions(),
&recording_application_);
}
@@ -241,7 +241,7 @@ bool ForceMicrophoneVolumeTo100Percent() {
#if defined(OS_WIN)
CommandLine command_line(GetTestDataDir().Append(kToolsPath).Append(
FILE_PATH_LITERAL("force_mic_volume_max.exe")));
- LOG(INFO) << "Running " << command_line.GetCommandLineString();
+ VLOG(0) << "Running " << command_line.GetCommandLineString();
std::string result;
if (!base::GetAppOutput(command_line, &result)) {
LOG(ERROR) << "Failed to set source volume: output was " << result;
@@ -258,7 +258,7 @@ bool ForceMicrophoneVolumeTo100Percent() {
command_line.AppendArg("set-source-volume");
command_line.AppendArg(base::StringPrintf("%d", device_index));
command_line.AppendArg(kHundredPercentVolume);
- LOG(INFO) << "Running " << command_line.GetCommandLineString();
+ VLOG(0) << "Running " << command_line.GetCommandLineString();
if (!base::GetAppOutput(command_line, &result)) {
LOG(ERROR) << "Failed to set source volume: output was " << result;
return false;
@@ -305,10 +305,10 @@ bool RemoveSilence(const base::FilePath& input_file,
command_line.AppendArg(kTreshold);
command_line.AppendArg("reverse");
- LOG(INFO) << "Running " << command_line.GetCommandLineString();
+ VLOG(0) << "Running " << command_line.GetCommandLineString();
std::string result;
bool ok = base::GetAppOutput(command_line, &result);
- LOG(INFO) << "Output was:\n\n" << result;
+ VLOG(0) << "Output was:\n\n" << result;
return ok;
}
@@ -352,13 +352,13 @@ bool RunPesq(const base::FilePath& reference_file,
command_line.AppendArgPath(reference_file);
command_line.AppendArgPath(actual_file);
- LOG(INFO) << "Running " << command_line.GetCommandLineString();
+ VLOG(0) << "Running " << command_line.GetCommandLineString();
std::string result;
if (!base::GetAppOutput(command_line, &result)) {
LOG(ERROR) << "Failed to run PESQ.";
return false;
}
- LOG(INFO) << "Output was:\n\n" << result;
+ VLOG(0) << "Output was:\n\n" << result;
const std::string result_anchor = "Prediction (Raw MOS, MOS-LQO): = ";
std::size_t anchor_pos = result.find(result_anchor);
@@ -438,7 +438,7 @@ IN_PROC_BROWSER_TEST_F(WebrtcAudioQualityBrowserTest,
PlayAudioFile(left_tab);
ASSERT_TRUE(recorder.WaitForRecordingToEnd());
- LOG(INFO) << "Done recording to " << recording.value() << std::endl;
+ VLOG(0) << "Done recording to " << recording.value() << std::endl;
AssertNoAsynchronousErrors(left_tab);
AssertNoAsynchronousErrors(right_tab);
@@ -453,7 +453,7 @@ IN_PROC_BROWSER_TEST_F(WebrtcAudioQualityBrowserTest,
base::FilePath trimmed_recording = CreateTemporaryWaveFile();
ASSERT_TRUE(RemoveSilence(recording, trimmed_recording));
- LOG(INFO) << "Trimmed silence: " << trimmed_recording.value() << std::endl;
+ VLOG(0) << "Trimmed silence: " << trimmed_recording.value() << std::endl;
std::string raw_mos;
std::string mos_lqo;

Powered by Google App Engine
This is Rietveld 408576698