gfe-relnote: n/a(code clean up) Remove direct use of DLOG in third_party/spdy/core. Add presubmit rules for preventing so in the future. PiperOrigin-RevId: 256008822 Change-Id: Ie99984a7063e93f2943f04790756bd040ad2ab28
diff --git a/spdy/core/http2_frame_decoder_adapter.cc b/spdy/core/http2_frame_decoder_adapter.cc index 5a59a8e..84e083f 100644 --- a/spdy/core/http2_frame_decoder_adapter.cc +++ b/spdy/core/http2_frame_decoder_adapter.cc
@@ -6,8 +6,8 @@ // Logging policy: If an error in the input is detected, SPDY_VLOG(n) is used so // that the option exists to debug the situation. Otherwise, this code mostly -// uses DVLOG so that the logging does not slow down production code when things -// are working OK. +// uses SPDY_DVLOG so that the logging does not slow down production code when +// things are working OK. #include <stddef.h> @@ -617,7 +617,7 @@ SpdyAltSvcWireFormat::AlternativeServiceVector altsvc_vector; if (!SpdyAltSvcWireFormat::ParseHeaderFieldValue(alt_svc_value_, &altsvc_vector)) { - DLOG(ERROR) << "SpdyAltSvcWireFormat::ParseHeaderFieldValue failed."; + SPDY_DLOG(ERROR) << "SpdyAltSvcWireFormat::ParseHeaderFieldValue failed."; SetSpdyErrorAndNotify(SpdyFramerError::SPDY_INVALID_CONTROL_FRAME); return; }