diff options
Diffstat (limited to 'chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc')
-rw-r--r-- | chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc b/chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc index ea90b6500ed..4bde56a29d7 100644 --- a/chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc +++ b/chromium/net/third_party/quiche/src/spdy/core/spdy_protocol.cc @@ -8,7 +8,7 @@ #include <ostream> #include "absl/strings/str_cat.h" -#include "spdy/platform/api/spdy_bug_tracker.h" +#include "common/platform/api/quiche_bug_tracker.h" namespace spdy { @@ -28,7 +28,7 @@ SpdyPriority ClampSpdy3Priority(SpdyPriority priority) { "The value of given priority shouldn't be smaller than highest " "priority. Check this invariant explicitly."); if (priority > kV3LowestPriority) { - SPDY_BUG(spdy_bug_22_1) + QUICHE_BUG(spdy_bug_22_1) << "Invalid priority: " << static_cast<int>(priority); return kV3LowestPriority; } @@ -37,11 +37,11 @@ SpdyPriority ClampSpdy3Priority(SpdyPriority priority) { int ClampHttp2Weight(int weight) { if (weight < kHttp2MinStreamWeight) { - SPDY_BUG(spdy_bug_22_2) << "Invalid weight: " << weight; + QUICHE_BUG(spdy_bug_22_2) << "Invalid weight: " << weight; return kHttp2MinStreamWeight; } if (weight > kHttp2MaxStreamWeight) { - SPDY_BUG(spdy_bug_22_3) << "Invalid weight: " << weight; + QUICHE_BUG(spdy_bug_22_3) << "Invalid weight: " << weight; return kHttp2MaxStreamWeight; } return weight; @@ -92,7 +92,7 @@ bool IsDefinedFrameType(uint8_t frame_type_field) { } SpdyFrameType ParseFrameType(uint8_t frame_type_field) { - SPDY_BUG_IF(spdy_bug_22_4, !IsDefinedFrameType(frame_type_field)) + QUICHE_BUG_IF(spdy_bug_22_4, !IsDefinedFrameType(frame_type_field)) << "Frame type not defined: " << static_cast<int>(frame_type_field); return static_cast<SpdyFrameType>(frame_type_field); } @@ -462,7 +462,7 @@ SpdyFrameType SpdyContinuationIR::frame_type() const { size_t SpdyContinuationIR::size() const { // We don't need to get the size of CONTINUATION frame directly. It is // calculated in HEADERS or PUSH_PROMISE frame. - SPDY_DLOG(WARNING) << "Shouldn't not call size() for CONTINUATION frame."; + QUICHE_DLOG(WARNING) << "Shouldn't not call size() for CONTINUATION frame."; return 0; } |