summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/browser/renderer_host/media/audio_input_renderer_host.cc11
-rw-r--r--content/browser/renderer_host/media/audio_input_sync_writer.cc4
2 files changed, 7 insertions, 8 deletions
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.cc b/content/browser/renderer_host/media/audio_input_renderer_host.cc
index 540185d..79a0e12 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.cc
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.cc
@@ -193,7 +193,7 @@ void AudioInputRendererHost::DoCompleteCreation(
}
LogMessage(entry->stream_id,
- "DoCompleteCreation => IPC channel and stream are now open",
+ "DoCompleteCreation: IPC channel and stream are now open",
true);
Send(new AudioInputMsg_NotifyStreamCreated(entry->stream_id,
@@ -212,9 +212,8 @@ void AudioInputRendererHost::DoSendRecordingMessage(
NOTREACHED() << "AudioInputController is invalid.";
return;
}
- LogMessage(entry->stream_id,
- "DoSendRecordingMessage => stream is now started",
- true);
+ LogMessage(
+ entry->stream_id, "DoSendRecordingMessage: stream is now started", true);
}
void AudioInputRendererHost::DoHandleError(
@@ -234,7 +233,7 @@ void AudioInputRendererHost::DoHandleError(
if (error_code == media::AudioInputController::NO_DATA_ERROR) {
// TODO(henrika): it might be possible to do something other than just
// logging when we detect many NO_DATA_ERROR calls for a stream.
- LogMessage(entry->stream_id, "AIC => NO_DATA_ERROR", false);
+ LogMessage(entry->stream_id, "AIC::DoCheckForNoData: NO_DATA_ERROR", false);
return;
}
@@ -465,7 +464,7 @@ void AudioInputRendererHost::CloseAndDeleteStream(AudioEntry* entry) {
void AudioInputRendererHost::DeleteEntry(AudioEntry* entry) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- LogMessage(entry->stream_id, "DeleteEntry => stream is now closed", true);
+ LogMessage(entry->stream_id, "DeleteEntry: stream is now closed", true);
// Delete the entry when this method goes out of scope.
scoped_ptr<AudioEntry> entry_deleter(entry);
diff --git a/content/browser/renderer_host/media/audio_input_sync_writer.cc b/content/browser/renderer_host/media/audio_input_sync_writer.cc
index 6a78f6cc..6babb49 100644
--- a/content/browser/renderer_host/media/audio_input_sync_writer.cc
+++ b/content/browser/renderer_host/media/audio_input_sync_writer.cc
@@ -60,13 +60,13 @@ void AudioInputSyncWriter::Write(const media::AudioBus* data,
if (last_write_time_.is_null()) {
// This is the first time Write is called.
base::TimeDelta interval = base::Time::Now() - creation_time_;
- oss << "AISW::Write => audio input data received for the first time: delay "
+ oss << "AISW::Write: audio input data received for the first time: delay "
"= " << interval.InMilliseconds() << "ms";
} else {
base::TimeDelta interval = base::Time::Now() - last_write_time_;
if (interval > kLogDelayThreadhold) {
- oss << "AISW::Write => audio input data delay unexpectedly long: delay = "
+ oss << "AISW::Write: audio input data delay unexpectedly long: delay = "
<< interval.InMilliseconds() << "ms";
}
}