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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.cc

Issue 524393002: Followup on "Improved logging for input streams" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed git gl format changes Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_sync_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_input_renderer_host.cc
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 540185dcca0b9331dbc790b57a1f9d6309088d18..79a0e1241e46f67cddd95bf9b1c03d67410af415 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);
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_sync_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698