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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 698263003: [chrome/common/renderer/media && chrome/common/renderer/safe_browsing] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index aa4d9892c6d5f442f9e3e49deabc7bb24a97274f..4f43842904a9bd4c60905c42b27527855ddf19f0 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -105,7 +105,7 @@ CastRtpPayloadParams DefaultH264Payload() {
bool IsHardwareVP8EncodingSupported() {
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->HasSwitch(switches::kDisableCastStreamingHWEncoding)) {
- VLOG(1) << "Disabled hardware VP8 support for Cast Streaming.";
+ DVLOG(1) << "Disabled hardware VP8 support for Cast Streaming.";
return false;
}
@@ -124,7 +124,7 @@ bool IsHardwareVP8EncodingSupported() {
bool IsHardwareH264EncodingSupported() {
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->HasSwitch(switches::kDisableCastStreamingHWEncoding)) {
- VLOG(1) << "Disabled hardware h264 support for Cast Streaming.";
+ DVLOG(1) << "Disabled hardware h264 support for Cast Streaming.";
return false;
}
@@ -528,7 +528,7 @@ void CastRtpStream::Start(const CastRtpParams& params,
const base::Closure& start_callback,
const base::Closure& stop_callback,
const ErrorCallback& error_callback) {
- VLOG(1) << "CastRtpStream::Start = " << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::Start = " << (IsAudio() ? "audio" : "video");
stop_callback_ = stop_callback;
error_callback_ = error_callback;
@@ -575,7 +575,7 @@ void CastRtpStream::Start(const CastRtpParams& params,
}
void CastRtpStream::Stop() {
- VLOG(1) << "CastRtpStream::Stop = " << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::Stop = " << (IsAudio() ? "audio" : "video");
audio_sink_.reset();
video_sink_.reset();
if (!stop_callback_.is_null())
@@ -583,23 +583,23 @@ void CastRtpStream::Stop() {
}
void CastRtpStream::ToggleLogging(bool enable) {
- VLOG(1) << "CastRtpStream::ToggleLogging(" << enable << ") = "
- << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::ToggleLogging(" << enable << ") = "
+ << (IsAudio() ? "audio" : "video");
cast_session_->ToggleLogging(IsAudio(), enable);
}
void CastRtpStream::GetRawEvents(
const base::Callback<void(scoped_ptr<base::BinaryValue>)>& callback,
const std::string& extra_data) {
- VLOG(1) << "CastRtpStream::GetRawEvents = "
- << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::GetRawEvents = "
+ << (IsAudio() ? "audio" : "video");
cast_session_->GetEventLogsAndReset(IsAudio(), extra_data, callback);
}
void CastRtpStream::GetStats(
const base::Callback<void(scoped_ptr<base::DictionaryValue>)>& callback) {
- VLOG(1) << "CastRtpStream::GetStats = "
- << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::GetStats = "
+ << (IsAudio() ? "audio" : "video");
cast_session_->GetStatsAndReset(IsAudio(), callback);
}
@@ -608,8 +608,8 @@ bool CastRtpStream::IsAudio() const {
}
void CastRtpStream::DidEncounterError(const std::string& message) {
- VLOG(1) << "CastRtpStream::DidEncounterError(" << message << ") = "
- << (IsAudio() ? "audio" : "video");
+ DVLOG(1) << "CastRtpStream::DidEncounterError(" << message << ") = "
+ << (IsAudio() ? "audio" : "video");
// Save the WeakPtr first because the error callback might delete this object.
base::WeakPtr<CastRtpStream> ptr = weak_factory_.GetWeakPtr();
error_callback_.Run(message);
« no previous file with comments | « no previous file | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698