From 20f4af2e369f921e3709b6b443aa2fe92f39b9f3 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Tue, 10 Feb 2015 09:52:15 -0800
Subject: [PATCH] Move call.h -> impl/call.h

---
 Makefile                            | 1 +
 build.json                          | 1 +
 include/grpc++/{ => impl}/call.h    | 0
 include/grpc++/stream.h             | 2 +-
 src/cpp/client/channel.cc           | 2 +-
 src/cpp/client/client_unary_call.cc | 2 +-
 src/cpp/common/call.cc              | 2 +-
 7 files changed, 6 insertions(+), 4 deletions(-)
 rename include/grpc++/{ => impl}/call.h (100%)

diff --git a/Makefile b/Makefile
index 3a61f79fb3..f2884fd8e5 100644
--- a/Makefile
+++ b/Makefile
@@ -2632,6 +2632,7 @@ PUBLIC_HEADERS_CXX += \
     include/grpc++/config.h \
     include/grpc++/create_channel.h \
     include/grpc++/credentials.h \
+    include/grpc++/impl/call.h \
     include/grpc++/impl/client_unary_call.h \
     include/grpc++/impl/internal_stub.h \
     include/grpc++/impl/rpc_method.h \
diff --git a/build.json b/build.json
index fdb32ebf71..602d7752a1 100644
--- a/build.json
+++ b/build.json
@@ -385,6 +385,7 @@
         "include/grpc++/config.h",
         "include/grpc++/create_channel.h",
         "include/grpc++/credentials.h",
+        "include/grpc++/impl/call.h",
         "include/grpc++/impl/client_unary_call.h",
         "include/grpc++/impl/internal_stub.h",
         "include/grpc++/impl/rpc_method.h",
diff --git a/include/grpc++/call.h b/include/grpc++/impl/call.h
similarity index 100%
rename from include/grpc++/call.h
rename to include/grpc++/impl/call.h
diff --git a/include/grpc++/stream.h b/include/grpc++/stream.h
index c30825a7a5..57ca86ad70 100644
--- a/include/grpc++/stream.h
+++ b/include/grpc++/stream.h
@@ -34,9 +34,9 @@
 #ifndef __GRPCPP_STREAM_H__
 #define __GRPCPP_STREAM_H__
 
-#include <grpc++/call.h>
 #include <grpc++/channel_interface.h>
 #include <grpc++/completion_queue.h>
+#include <grpc++/impl/call.h>
 #include <grpc++/status.h>
 #include <grpc/support/log.h>
 
diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc
index a1539e4711..da94739ea0 100644
--- a/src/cpp/client/channel.cc
+++ b/src/cpp/client/channel.cc
@@ -42,12 +42,12 @@
 #include <grpc/support/slice.h>
 
 #include "src/cpp/proto/proto_utils.h"
-#include <grpc++/call.h>
 #include <grpc++/channel_arguments.h>
 #include <grpc++/client_context.h>
 #include <grpc++/completion_queue.h>
 #include <grpc++/config.h>
 #include <grpc++/credentials.h>
+#include <grpc++/impl/call.h>
 #include <grpc++/impl/rpc_method.h>
 #include <grpc++/status.h>
 #include <google/protobuf/message.h>
diff --git a/src/cpp/client/client_unary_call.cc b/src/cpp/client/client_unary_call.cc
index e652750e22..8598592068 100644
--- a/src/cpp/client/client_unary_call.cc
+++ b/src/cpp/client/client_unary_call.cc
@@ -32,7 +32,7 @@
  */
 
 #include <grpc++/impl/client_unary_call.h>
-#include <grpc++/call.h>
+#include <grpc++/impl/call.h>
 #include <grpc++/channel_interface.h>
 #include <grpc++/completion_queue.h>
 #include <grpc++/status.h>
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc
index d3a9de3620..0315ffb6bd 100644
--- a/src/cpp/common/call.cc
+++ b/src/cpp/common/call.cc
@@ -31,7 +31,7 @@
  *
  */
 
-#include <include/grpc++/call.h>
+#include <include/grpc++/impl/call.h>
 #include <include/grpc++/channel_interface.h>
 
 namespace grpc {
-- 
GitLab