Move quiche/common/balsa to quiche/balsa. PiperOrigin-RevId: 448235250
diff --git a/quiche/common/balsa/balsa_enums.cc b/quiche/balsa/balsa_enums.cc similarity index 98% rename from quiche/common/balsa/balsa_enums.cc rename to quiche/balsa/balsa_enums.cc index 1bafa62..d9c1dfd 100644 --- a/quiche/common/balsa/balsa_enums.cc +++ b/quiche/balsa/balsa_enums.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_enums.h" namespace quiche {
diff --git a/quiche/common/balsa/balsa_enums.h b/quiche/balsa/balsa_enums.h similarity index 96% rename from quiche/common/balsa/balsa_enums.h rename to quiche/balsa/balsa_enums.h index 0136305..2c067b6 100644 --- a/quiche/common/balsa/balsa_enums.h +++ b/quiche/balsa/balsa_enums.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_BALSA_ENUMS_H_ -#define QUICHE_COMMON_BALSA_BALSA_ENUMS_H_ +#ifndef QUICHE_BALSA_BALSA_ENUMS_H_ +#define QUICHE_BALSA_BALSA_ENUMS_H_ #include "quiche/common/platform/api/quiche_export.h" @@ -123,4 +123,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_BALSA_ENUMS_H_ +#endif // QUICHE_BALSA_BALSA_ENUMS_H_
diff --git a/quiche/common/balsa/balsa_frame.cc b/quiche/balsa/balsa_frame.cc similarity index 99% rename from quiche/common/balsa/balsa_frame.cc rename to quiche/balsa/balsa_frame.cc index 167632a..ebdc299 100644 --- a/quiche/common/balsa/balsa_frame.cc +++ b/quiche/balsa/balsa_frame.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/balsa_frame.h" +#include "quiche/balsa/balsa_frame.h" #include <algorithm> #include <array> @@ -17,10 +17,10 @@ #include "absl/strings/match.h" #include "absl/strings/numbers.h" #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/balsa_headers.h" -#include "quiche/common/balsa/balsa_visitor_interface.h" -#include "quiche/common/balsa/header_properties.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_headers.h" +#include "quiche/balsa/balsa_visitor_interface.h" +#include "quiche/balsa/header_properties.h" #include "quiche/common/platform/api/quiche_logging.h" // When comparing characters (other than == and !=), cast to unsigned char
diff --git a/quiche/common/balsa/balsa_frame.h b/quiche/balsa/balsa_frame.h similarity index 95% rename from quiche/common/balsa/balsa_frame.h rename to quiche/balsa/balsa_frame.h index 2711ac0..c9bca84 100644 --- a/quiche/common/balsa/balsa_frame.h +++ b/quiche/balsa/balsa_frame.h
@@ -2,20 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_BALSA_FRAME_H_ -#define QUICHE_COMMON_BALSA_BALSA_FRAME_H_ +#ifndef QUICHE_BALSA_BALSA_FRAME_H_ +#define QUICHE_BALSA_BALSA_FRAME_H_ #include <cstddef> #include <cstdint> #include <utility> #include <vector> -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/balsa_headers.h" -#include "quiche/common/balsa/balsa_visitor_interface.h" -#include "quiche/common/balsa/framer_interface.h" -#include "quiche/common/balsa/http_validation_policy.h" -#include "quiche/common/balsa/noop_balsa_visitor.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_headers.h" +#include "quiche/balsa/balsa_visitor_interface.h" +#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" @@ -311,4 +311,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_BALSA_FRAME_H_ +#endif // QUICHE_BALSA_BALSA_FRAME_H_
diff --git a/quiche/common/balsa/balsa_frame_test.cc b/quiche/balsa/balsa_frame_test.cc similarity index 99% rename from quiche/common/balsa/balsa_frame_test.cc rename to quiche/balsa/balsa_frame_test.cc index c05d990..f4772dd 100644 --- a/quiche/common/balsa/balsa_frame_test.cc +++ b/quiche/balsa/balsa_frame_test.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/balsa_frame.h" +#include "quiche/balsa/balsa_frame.h" #include <stdlib.h> @@ -22,12 +22,12 @@ #include "absl/strings/str_format.h" #include "absl/strings/str_replace.h" #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/balsa_headers.h" -#include "quiche/common/balsa/balsa_visitor_interface.h" -#include "quiche/common/balsa/http_validation_policy.h" -#include "quiche/common/balsa/noop_balsa_visitor.h" -#include "quiche/common/balsa/simple_buffer.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_headers.h" +#include "quiche/balsa/balsa_visitor_interface.h" +#include "quiche/balsa/http_validation_policy.h" +#include "quiche/balsa/noop_balsa_visitor.h" +#include "quiche/balsa/simple_buffer.h" #include "quiche/common/platform/api/quiche_expect_bug.h" #include "quiche/common/platform/api/quiche_logging.h" #include "quiche/common/platform/api/quiche_test.h"
diff --git a/quiche/common/balsa/balsa_headers.cc b/quiche/balsa/balsa_headers.cc similarity index 99% rename from quiche/common/balsa/balsa_headers.cc rename to quiche/balsa/balsa_headers.cc index 16c223b..1ceee58 100644 --- a/quiche/common/balsa/balsa_headers.cc +++ b/quiche/balsa/balsa_headers.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/balsa_headers.h" +#include "quiche/balsa/balsa_headers.h" #include <sys/types.h> @@ -19,8 +19,8 @@ #include "absl/strings/str_format.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/header_properties.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/header_properties.h" #include "quiche/common/platform/api/quiche_header_policy.h" #include "quiche/common/platform/api/quiche_logging.h"
diff --git a/quiche/common/balsa/balsa_headers.h b/quiche/balsa/balsa_headers.h similarity index 99% rename from quiche/common/balsa/balsa_headers.h rename to quiche/balsa/balsa_headers.h index 3ce1180..8ed2f11 100644 --- a/quiche/common/balsa/balsa_headers.h +++ b/quiche/balsa/balsa_headers.h
@@ -4,8 +4,8 @@ // A lightweight implementation for storing HTTP headers. -#ifndef QUICHE_COMMON_BALSA_BALSA_HEADERS_H_ -#define QUICHE_COMMON_BALSA_BALSA_HEADERS_H_ +#ifndef QUICHE_BALSA_BALSA_HEADERS_H_ +#define QUICHE_BALSA_BALSA_HEADERS_H_ #include <cstddef> #include <cstring> @@ -22,9 +22,9 @@ #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/header_api.h" -#include "quiche/common/balsa/standard_header_map.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/header_api.h" +#include "quiche/balsa/standard_header_map.h" #include "quiche/common/platform/api/quiche_bug_tracker.h" #include "quiche/common/platform/api/quiche_export.h" #include "quiche/common/platform/api/quiche_logging.h" @@ -1466,4 +1466,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_BALSA_HEADERS_H_ +#endif // QUICHE_BALSA_BALSA_HEADERS_H_
diff --git a/quiche/common/balsa/balsa_headers_test.cc b/quiche/balsa/balsa_headers_test.cc similarity index 99% rename from quiche/common/balsa/balsa_headers_test.cc rename to quiche/balsa/balsa_headers_test.cc index 4c2b605..3663e9d 100644 --- a/quiche/common/balsa/balsa_headers_test.cc +++ b/quiche/balsa/balsa_headers_test.cc
@@ -6,7 +6,7 @@ // tested in the balsa_frame_test as the BalsaFrame and // BalsaHeaders classes are fairly related. -#include "quiche/common/balsa/balsa_headers.h" +#include "quiche/balsa/balsa_headers.h" #include <cstring> #include <limits> @@ -22,9 +22,9 @@ #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_enums.h" -#include "quiche/common/balsa/balsa_frame.h" -#include "quiche/common/balsa/simple_buffer.h" +#include "quiche/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_frame.h" +#include "quiche/balsa/simple_buffer.h" #include "quiche/common/platform/api/quiche_expect_bug.h" #include "quiche/common/platform/api/quiche_logging.h" #include "quiche/common/platform/api/quiche_test.h"
diff --git a/quiche/common/balsa/balsa_visitor_interface.h b/quiche/balsa/balsa_visitor_interface.h similarity index 96% rename from quiche/common/balsa/balsa_visitor_interface.h rename to quiche/balsa/balsa_visitor_interface.h index 0202f81..b05d7ad 100644 --- a/quiche/common/balsa/balsa_visitor_interface.h +++ b/quiche/balsa/balsa_visitor_interface.h
@@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_BALSA_VISITOR_INTERFACE_H_ -#define QUICHE_COMMON_BALSA_BALSA_VISITOR_INTERFACE_H_ +#ifndef QUICHE_BALSA_BALSA_VISITOR_INTERFACE_H_ +#define QUICHE_BALSA_BALSA_VISITOR_INTERFACE_H_ #include <cstddef> #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_enums.h" +#include "quiche/balsa/balsa_enums.h" #include "quiche/common/platform/api/quiche_export.h" namespace quiche { @@ -145,4 +145,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_BALSA_VISITOR_INTERFACE_H_ +#endif // QUICHE_BALSA_BALSA_VISITOR_INTERFACE_H_
diff --git a/quiche/common/balsa/framer_interface.h b/quiche/balsa/framer_interface.h similarity index 78% rename from quiche/common/balsa/framer_interface.h rename to quiche/balsa/framer_interface.h index 68ee3ca..eaa143b 100644 --- a/quiche/common/balsa/framer_interface.h +++ b/quiche/balsa/framer_interface.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_FRAMER_INTERFACE_H_ -#define QUICHE_COMMON_BALSA_FRAMER_INTERFACE_H_ +#ifndef QUICHE_BALSA_FRAMER_INTERFACE_H_ +#define QUICHE_BALSA_FRAMER_INTERFACE_H_ #include <cstddef> @@ -21,4 +21,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_FRAMER_INTERFACE_H_ +#endif // QUICHE_BALSA_FRAMER_INTERFACE_H_
diff --git a/quiche/common/balsa/header_api.h b/quiche/balsa/header_api.h similarity index 98% rename from quiche/common/balsa/header_api.h rename to quiche/balsa/header_api.h index c8ec740..09789f5 100644 --- a/quiche/common/balsa/header_api.h +++ b/quiche/balsa/header_api.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_HEADER_API_H_ -#define QUICHE_COMMON_BALSA_HEADER_API_H_ +#ifndef QUICHE_BALSA_HEADER_API_H_ +#define QUICHE_BALSA_HEADER_API_H_ #include <cstddef> #include <functional> @@ -271,4 +271,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_HEADER_API_H_ +#endif // QUICHE_BALSA_HEADER_API_H_
diff --git a/quiche/common/balsa/header_properties.cc b/quiche/balsa/header_properties.cc similarity index 97% rename from quiche/common/balsa/header_properties.cc rename to quiche/balsa/header_properties.cc index 561fe7a..240979c 100644 --- a/quiche/common/balsa/header_properties.cc +++ b/quiche/balsa/header_properties.cc
@@ -1,4 +1,4 @@ -#include "quiche/common/balsa/header_properties.h" +#include "quiche/balsa/header_properties.h" #include <array>
diff --git a/quiche/common/balsa/header_properties.h b/quiche/balsa/header_properties.h similarity index 93% rename from quiche/common/balsa/header_properties.h rename to quiche/balsa/header_properties.h index 2539a90..f94eaa2 100644 --- a/quiche/common/balsa/header_properties.h +++ b/quiche/balsa/header_properties.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_HEADER_PROPERTIES_H_ -#define QUICHE_COMMON_BALSA_HEADER_PROPERTIES_H_ +#ifndef QUICHE_BALSA_HEADER_PROPERTIES_H_ +#define QUICHE_BALSA_HEADER_PROPERTIES_H_ #include <cstdint> @@ -47,4 +47,4 @@ } // namespace quiche::header_properties -#endif // QUICHE_COMMON_BALSA_HEADER_PROPERTIES_H_ +#endif // QUICHE_BALSA_HEADER_PROPERTIES_H_
diff --git a/quiche/common/balsa/header_properties_test.cc b/quiche/balsa/header_properties_test.cc similarity index 97% rename from quiche/common/balsa/header_properties_test.cc rename to quiche/balsa/header_properties_test.cc index c9dfc6d..ef5f8fc 100644 --- a/quiche/common/balsa/header_properties_test.cc +++ b/quiche/balsa/header_properties_test.cc
@@ -1,4 +1,4 @@ -#include "quiche/common/balsa/header_properties.h" +#include "quiche/balsa/header_properties.h" #include "quiche/common/platform/api/quiche_test.h"
diff --git a/quiche/common/balsa/http_validation_policy.cc b/quiche/balsa/http_validation_policy.cc similarity index 91% rename from quiche/common/balsa/http_validation_policy.cc rename to quiche/balsa/http_validation_policy.cc index 4d44efa..5aab23b 100644 --- a/quiche/common/balsa/http_validation_policy.cc +++ b/quiche/balsa/http_validation_policy.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/http_validation_policy.h" +#include "quiche/balsa/http_validation_policy.h" #include <tuple>
diff --git a/quiche/common/balsa/http_validation_policy.h b/quiche/balsa/http_validation_policy.h similarity index 91% rename from quiche/common/balsa/http_validation_policy.h rename to quiche/balsa/http_validation_policy.h index a98a08b..b51b1d5 100644 --- a/quiche/common/balsa/http_validation_policy.h +++ b/quiche/balsa/http_validation_policy.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_HTTP_VALIDATION_POLICY_H_ -#define QUICHE_COMMON_BALSA_HTTP_VALIDATION_POLICY_H_ +#ifndef QUICHE_BALSA_HTTP_VALIDATION_POLICY_H_ +#define QUICHE_BALSA_HTTP_VALIDATION_POLICY_H_ #include <ostream> @@ -52,4 +52,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_HTTP_VALIDATION_POLICY_H_ +#endif // QUICHE_BALSA_HTTP_VALIDATION_POLICY_H_
diff --git a/quiche/common/balsa/noop_balsa_visitor.h b/quiche/balsa/noop_balsa_visitor.h similarity index 90% rename from quiche/common/balsa/noop_balsa_visitor.h rename to quiche/balsa/noop_balsa_visitor.h index 35a8be2..bedd948 100644 --- a/quiche/common/balsa/noop_balsa_visitor.h +++ b/quiche/balsa/noop_balsa_visitor.h
@@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_NOOP_BALSA_VISITOR_H_ -#define QUICHE_COMMON_BALSA_NOOP_BALSA_VISITOR_H_ +#ifndef QUICHE_BALSA_NOOP_BALSA_VISITOR_H_ +#define QUICHE_BALSA_NOOP_BALSA_VISITOR_H_ #include <cstddef> #include "absl/strings/string_view.h" -#include "quiche/common/balsa/balsa_visitor_interface.h" +#include "quiche/balsa/balsa_visitor_interface.h" #include "quiche/common/platform/api/quiche_export.h" namespace quiche { @@ -53,4 +53,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_NOOP_BALSA_VISITOR_H_ +#endif // QUICHE_BALSA_NOOP_BALSA_VISITOR_H_
diff --git a/quiche/common/balsa/simple_buffer.cc b/quiche/balsa/simple_buffer.cc similarity index 98% rename from quiche/common/balsa/simple_buffer.cc rename to quiche/balsa/simple_buffer.cc index e441422..268fca4 100644 --- a/quiche/common/balsa/simple_buffer.cc +++ b/quiche/balsa/simple_buffer.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/simple_buffer.h" +#include "quiche/balsa/simple_buffer.h" #include <cstring> #include <memory>
diff --git a/quiche/common/balsa/simple_buffer.h b/quiche/balsa/simple_buffer.h similarity index 96% rename from quiche/common/balsa/simple_buffer.h rename to quiche/balsa/simple_buffer.h index 52f3400..d669899 100644 --- a/quiche/common/balsa/simple_buffer.h +++ b/quiche/balsa/simple_buffer.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_SIMPLE_BUFFER_H_ -#define QUICHE_COMMON_BALSA_SIMPLE_BUFFER_H_ +#ifndef QUICHE_BALSA_SIMPLE_BUFFER_H_ +#define QUICHE_BALSA_SIMPLE_BUFFER_H_ #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_export.h" @@ -113,4 +113,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_SIMPLE_BUFFER_H_ +#endif // QUICHE_BALSA_SIMPLE_BUFFER_H_
diff --git a/quiche/common/balsa/simple_buffer_test.cc b/quiche/balsa/simple_buffer_test.cc similarity index 99% rename from quiche/common/balsa/simple_buffer_test.cc rename to quiche/balsa/simple_buffer_test.cc index d8b134e..21e279f 100644 --- a/quiche/common/balsa/simple_buffer_test.cc +++ b/quiche/balsa/simple_buffer_test.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/simple_buffer.h" +#include "quiche/balsa/simple_buffer.h" #include <string>
diff --git a/quiche/common/balsa/standard_header_map.cc b/quiche/balsa/standard_header_map.cc similarity index 98% rename from quiche/common/balsa/standard_header_map.cc rename to quiche/balsa/standard_header_map.cc index 0cdab01..f1c5f4b 100644 --- a/quiche/common/balsa/standard_header_map.cc +++ b/quiche/balsa/standard_header_map.cc
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "quiche/common/balsa/standard_header_map.h" +#include "quiche/balsa/standard_header_map.h" namespace quiche {
diff --git a/quiche/common/balsa/standard_header_map.h b/quiche/balsa/standard_header_map.h similarity index 79% rename from quiche/common/balsa/standard_header_map.h rename to quiche/balsa/standard_header_map.h index 3e9dbb7..d4a67df 100644 --- a/quiche/common/balsa/standard_header_map.h +++ b/quiche/balsa/standard_header_map.h
@@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef QUICHE_COMMON_BALSA_STANDARD_HEADER_MAP_H_ -#define QUICHE_COMMON_BALSA_STANDARD_HEADER_MAP_H_ +#ifndef QUICHE_BALSA_STANDARD_HEADER_MAP_H_ +#define QUICHE_BALSA_STANDARD_HEADER_MAP_H_ #include "absl/container/flat_hash_set.h" #include "absl/strings/string_view.h" @@ -21,4 +21,4 @@ } // namespace quiche -#endif // QUICHE_COMMON_BALSA_STANDARD_HEADER_MAP_H_ +#endif // QUICHE_BALSA_STANDARD_HEADER_MAP_H_