aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/objective_c_generator.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2019-01-07 09:50:21 -0800
committerGravatar GitHub <noreply@github.com>2019-01-07 09:50:21 -0800
commit36b47ce0de60754cf14258e15d25dd2d1bb5abe0 (patch)
tree891087733e8609cc0594559dbd17d8b4b9b5b1e9 /src/compiler/objective_c_generator.h
parent46bd2f7adb926053345665d5c487fa20acd2b5b0 (diff)
parentb4a926961abc9e29016b2ba30093f3925de10514 (diff)
Merge pull request #16190 from muxi/config-isolation
Implement L38: gRPC Objective-C API Upgrade
Diffstat (limited to 'src/compiler/objective_c_generator.h')
-rw-r--r--src/compiler/objective_c_generator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/compiler/objective_c_generator.h b/src/compiler/objective_c_generator.h
index eb1c7ff005..c171e5bf77 100644
--- a/src/compiler/objective_c_generator.h
+++ b/src/compiler/objective_c_generator.h
@@ -32,9 +32,14 @@ using ::grpc::string;
string GetAllMessageClasses(const FileDescriptor* file);
// Returns the content to be included defining the @protocol segment at the
-// insertion point of the generated implementation file.
+// insertion point of the generated implementation file. This interface is
+// legacy and for backwards compatibility.
string GetProtocol(const ServiceDescriptor* service);
+// Returns the content to be included defining the @protocol segment at the
+// insertion point of the generated implementation file.
+string GetV2Protocol(const ServiceDescriptor* service);
+
// Returns the content to be included defining the @interface segment at the
// insertion point of the generated implementation file.
string GetInterface(const ServiceDescriptor* service);