Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(818)

Unified Diff: third_party/grpc/src/proto/grpc/health/v1/health.proto

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/src/proto/grpc/health/v1/health.proto
diff --git a/breakpad/linux/breakpad_googletest_includes.h b/third_party/grpc/src/proto/grpc/health/v1/health.proto
similarity index 79%
copy from breakpad/linux/breakpad_googletest_includes.h
copy to third_party/grpc/src/proto/grpc/health/v1/health.proto
index aeab31563d41063c69d26fcf9da83b1397e0d67d..6e27606d1b6fdb4f3e658e0ff4b07d21f1bbc017 100644
--- a/breakpad/linux/breakpad_googletest_includes.h
+++ b/third_party/grpc/src/proto/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,24 @@
// (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;
+option csharp_namespace = "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);
+}
« no previous file with comments | « third_party/grpc/src/proto/gen_build_yaml.py ('k') | third_party/grpc/src/proto/grpc/lb/v0/load_balancer.options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698