diff --git a/BUILD b/BUILD index c03a89cf1f0..e9f56995410 100644 --- a/BUILD +++ b/BUILD @@ -1842,6 +1842,7 @@ grpc_cc_library( "src/core/lib/uri/uri_parser.h", ], external_deps = [ + "absl/status", "absl/status:statusor", "absl/strings", "absl/strings:str_format", diff --git a/src/core/lib/uri/uri_parser.cc b/src/core/lib/uri/uri_parser.cc index 8a794aedc6c..22782fcff3f 100644 --- a/src/core/lib/uri/uri_parser.cc +++ b/src/core/lib/uri/uri_parser.cc @@ -18,19 +18,27 @@ #include "src/core/lib/uri/uri_parser.h" -#include +#include +#include +#include +#include #include #include +#include +#include "absl/status/status.h" +#include "absl/strings/ascii.h" #include "absl/strings/escaping.h" +#include "absl/strings/match.h" +#include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" +#include "absl/strings/str_join.h" #include "absl/strings/str_split.h" +#include "absl/strings/strip.h" #include -#include "src/core/lib/gpr/string.h" - namespace grpc_core { namespace { diff --git a/tools/dockerfile/grpc_iwyu/iwyu.sh b/tools/dockerfile/grpc_iwyu/iwyu.sh index 4f61cfb05fd..16132304ba3 100755 --- a/tools/dockerfile/grpc_iwyu/iwyu.sh +++ b/tools/dockerfile/grpc_iwyu/iwyu.sh @@ -30,7 +30,7 @@ cat compile_commands.json | sed "s,\"file\": \",\"file\": \"${IWYU_ROOT}/,g" > c # figure out which files to include cat compile_commands.json | jq -r '.[].file' \ - | grep -E "^src/core/lib/promise/" \ + | grep -E "^src/core/lib/(promise|uri)/" \ | grep -v -E "/upb-generated/|/upbdefs-generated/" \ | sort \ | tee iwyu_files.txt