diff options
Diffstat (limited to 'include/grpc++/impl/channel_argument_option.h')
-rw-r--r-- | include/grpc++/impl/channel_argument_option.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/include/grpc++/impl/channel_argument_option.h b/include/grpc++/impl/channel_argument_option.h index f157ec1d7e..3468378de6 100644 --- a/include/grpc++/impl/channel_argument_option.h +++ b/include/grpc++/impl/channel_argument_option.h @@ -1,6 +1,6 @@ /* * - * Copyright 2017 gRPC authors. + * Copyright 2018 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,22 +16,13 @@ * */ +// DEPRECATED: The headers in include/grpc++ are deprecated. Please include the +// headers in include/grpcpp instead. This header exists only for backwards +// compatibility. + #ifndef GRPCXX_IMPL_CHANNEL_ARGUMENT_OPTION_H #define GRPCXX_IMPL_CHANNEL_ARGUMENT_OPTION_H -#include <map> -#include <memory> - -#include <grpc++/impl/server_builder_option.h> -#include <grpc++/support/channel_arguments.h> - -namespace grpc { - -std::unique_ptr<ServerBuilderOption> MakeChannelArgumentOption( - const grpc::string& name, const grpc::string& value); -std::unique_ptr<ServerBuilderOption> MakeChannelArgumentOption( - const grpc::string& name, int value); - -} // namespace grpc +#include <grpcpp/impl/channel_argument_option.h> #endif // GRPCXX_IMPL_CHANNEL_ARGUMENT_OPTION_H |