Remove some unused fields from BalsaFrame. PiperOrigin-RevId: 541707194
diff --git a/quiche/balsa/balsa_frame.cc b/quiche/balsa/balsa_frame.cc index 908fc53..6d48767 100644 --- a/quiche/balsa/balsa_frame.cc +++ b/quiche/balsa/balsa_frame.cc
@@ -5,13 +5,11 @@ #include "quiche/balsa/balsa_frame.h" #include <algorithm> -#include <array> #include <cstddef> #include <cstdint> #include <cstring> #include <limits> #include <memory> -#include <ostream> #include <string> #include <utility> @@ -69,8 +67,6 @@ // visitor_ = &do_nothing_visitor_; // not reset between messages. chunk_length_remaining_ = 0; content_length_remaining_ = 0; - last_slash_n_loc_ = nullptr; - last_recorded_slash_n_loc_ = nullptr; last_slash_n_idx_ = 0; term_chars_ = 0; parse_state_ = BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE;
diff --git a/quiche/balsa/balsa_frame.h b/quiche/balsa/balsa_frame.h index c6ec6cb..74e61d3 100644 --- a/quiche/balsa/balsa_frame.h +++ b/quiche/balsa/balsa_frame.h
@@ -17,7 +17,6 @@ #include "quiche/balsa/framer_interface.h" #include "quiche/balsa/http_validation_policy.h" #include "quiche/balsa/noop_balsa_visitor.h" -#include "quiche/common/platform/api/quiche_bug_tracker.h" #include "quiche/common/platform/api/quiche_export.h" #include "quiche/common/platform/api/quiche_flag_utils.h" @@ -54,8 +53,6 @@ visitor_(&do_nothing_visitor_), chunk_length_remaining_(0), content_length_remaining_(0), - last_slash_n_loc_(nullptr), - last_recorded_slash_n_loc_(nullptr), last_slash_n_idx_(0), term_chars_(0), parse_state_(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE), @@ -288,8 +285,6 @@ BalsaVisitorInterface* visitor_; size_t chunk_length_remaining_; size_t content_length_remaining_; - const char* last_slash_n_loc_; - const char* last_recorded_slash_n_loc_; size_t last_slash_n_idx_; uint32_t term_chars_; BalsaFrameEnums::ParseState parse_state_;