Index: third_party/grpc/src/python/grpcio_health_checking/grpc/health/v1/health.proto |
diff --git a/breakpad/linux/breakpad_googletest_includes.h b/third_party/grpc/src/python/grpcio_health_checking/grpc/health/v1/health.proto |
similarity index 81% |
copy from breakpad/linux/breakpad_googletest_includes.h |
copy to third_party/grpc/src/python/grpcio_health_checking/grpc/health/v1/health.proto |
index aeab31563d41063c69d26fcf9da83b1397e0d67d..de10719b6ced765117e2a4c5672af8a010fa2bd3 100644 |
--- a/breakpad/linux/breakpad_googletest_includes.h |
+++ b/third_party/grpc/src/python/grpcio_health_checking/grpc/health/v1/health.proto |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009, Google Inc. |
+// Copyright 2015-2016, Google Inc. |
// All rights reserved. |
// |
// Redistribution and use in source and binary forms, with or without |
@@ -27,10 +27,23 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#ifndef BREAKPAD_GOOGLETEST_INCLUDES_H__ |
-#define BREAKPAD_GOOGLETEST_INCLUDES_H__ |
+syntax = "proto3"; |
-#include "testing/gtest/include/gtest/gtest.h" |
-#include "testing/gmock/include/gmock/gmock.h" |
+package grpc.health.v1; |
-#endif // BREAKPAD_GOOGLETEST_INCLUDES_H__ |
+message HealthCheckRequest { |
+ string service = 1; |
+} |
+ |
+message HealthCheckResponse { |
+ enum ServingStatus { |
+ UNKNOWN = 0; |
+ SERVING = 1; |
+ NOT_SERVING = 2; |
+ } |
+ ServingStatus status = 1; |
+} |
+ |
+service Health { |
+ rpc Check(HealthCheckRequest) returns (HealthCheckResponse); |
+} |