aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/http/parser.h
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-11-08 10:56:16 -0800
committerGravatar Yuchen Zeng <zyc@google.com>2016-11-08 10:56:16 -0800
commitbd363544fd5d4d722c068b0ffc0991d7ea6a9277 (patch)
tree176fea48dc15ac859b2191fa1d57d4ce33e4a3a0 /src/core/lib/http/parser.h
parentcc8b841832bba537aaf1c3a6e6dffb91894fe138 (diff)
parent24ef07c8afc8d59d9cfe67008bcd2d040467ff20 (diff)
Merge remote-tracking branch 'upstream/master' into cares_buildin
Diffstat (limited to 'src/core/lib/http/parser.h')
-rw-r--r--src/core/lib/http/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/http/parser.h b/src/core/lib/http/parser.h
index fab42979cd..a68011dd43 100644
--- a/src/core/lib/http/parser.h
+++ b/src/core/lib/http/parser.h
@@ -34,8 +34,8 @@
#ifndef GRPC_CORE_LIB_HTTP_PARSER_H
#define GRPC_CORE_LIB_HTTP_PARSER_H
+#include <grpc/slice.h>
#include <grpc/support/port_platform.h>
-#include <grpc/support/slice.h>
#include "src/core/lib/iomgr/error.h"
/* Maximum length of a header string of the form 'Key: Value\r\n' */
@@ -114,7 +114,7 @@ void grpc_http_parser_init(grpc_http_parser *parser, grpc_http_type type,
void grpc_http_parser_destroy(grpc_http_parser *parser);
/* Sets \a start_of_body to the offset in \a slice of the start of the body. */
-grpc_error *grpc_http_parser_parse(grpc_http_parser *parser, gpr_slice slice,
+grpc_error *grpc_http_parser_parse(grpc_http_parser *parser, grpc_slice slice,
size_t *start_of_body);
grpc_error *grpc_http_parser_eof(grpc_http_parser *parser);