diff options
author | yang-g <yangg@google.com> | 2015-08-21 15:35:03 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-08-21 15:35:03 -0700 |
commit | 9e2f90cd068b4c2a8fdec69ca93ca614d35cba28 (patch) | |
tree | 4a4011b82112cd20767f3c2e47ae322645331232 /examples | |
parent | d392fa04c5866387c981f4cd83392d1a2e3da7a8 (diff) |
headers reorg
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pubsub/main.cc | 6 | ||||
-rw-r--r-- | examples/pubsub/publisher.h | 1 | ||||
-rw-r--r-- | examples/pubsub/publisher_test.cc | 2 | ||||
-rw-r--r-- | examples/pubsub/subscriber.h | 1 | ||||
-rw-r--r-- | examples/pubsub/subscriber_test.cc | 2 |
5 files changed, 2 insertions, 10 deletions
diff --git a/examples/pubsub/main.cc b/examples/pubsub/main.cc index fcee3b316b..32102dcb5c 100644 --- a/examples/pubsub/main.cc +++ b/examples/pubsub/main.cc @@ -37,18 +37,16 @@ #include <string> #include <thread> +#include <gflags/gflags.h> #include <grpc/grpc.h> #include <grpc/support/log.h> -#include <gflags/gflags.h> -#include <grpc++/channel_arguments.h> #include <grpc++/channel.h> #include <grpc++/create_channel.h> #include <grpc++/credentials.h> -#include <grpc++/status.h> -#include "test/cpp/util/test_config.h" #include "examples/pubsub/publisher.h" #include "examples/pubsub/subscriber.h" +#include "test/cpp/util/test_config.h" DEFINE_int32(server_port, 443, "Server port."); DEFINE_string(server_host, "pubsub-staging.googleapis.com", diff --git a/examples/pubsub/publisher.h b/examples/pubsub/publisher.h index b98e6973dc..02e6194b0b 100644 --- a/examples/pubsub/publisher.h +++ b/examples/pubsub/publisher.h @@ -35,7 +35,6 @@ #define GRPC_EXAMPLES_PUBSUB_PUBLISHER_H #include <grpc++/channel.h> -#include <grpc++/status.h> #include "examples/pubsub/pubsub.grpc.pb.h" diff --git a/examples/pubsub/publisher_test.cc b/examples/pubsub/publisher_test.cc index 972b426e64..c2eb295ef2 100644 --- a/examples/pubsub/publisher_test.cc +++ b/examples/pubsub/publisher_test.cc @@ -31,7 +31,6 @@ * */ -#include <grpc++/channel_arguments.h> #include <grpc++/channel.h> #include <grpc++/client_context.h> #include <grpc++/create_channel.h> @@ -39,7 +38,6 @@ #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/server_credentials.h> -#include <grpc++/status.h> #include <gtest/gtest.h> #include "examples/pubsub/publisher.h" diff --git a/examples/pubsub/subscriber.h b/examples/pubsub/subscriber.h index 87c833102c..c5b1df0d3e 100644 --- a/examples/pubsub/subscriber.h +++ b/examples/pubsub/subscriber.h @@ -35,7 +35,6 @@ #define GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H #include <grpc++/channel.h> -#include <grpc++/status.h> #include "examples/pubsub/pubsub.grpc.pb.h" diff --git a/examples/pubsub/subscriber_test.cc b/examples/pubsub/subscriber_test.cc index 7974ca88c2..c5a077f407 100644 --- a/examples/pubsub/subscriber_test.cc +++ b/examples/pubsub/subscriber_test.cc @@ -31,7 +31,6 @@ * */ -#include <grpc++/channel_arguments.h> #include <grpc++/channel.h> #include <grpc++/client_context.h> #include <grpc++/create_channel.h> @@ -39,7 +38,6 @@ #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/server_credentials.h> -#include <grpc++/status.h> #include <gtest/gtest.h> #include "examples/pubsub/subscriber.h" |