| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto3"; | |
| 6 | |
| 7 // TODO(xyzzyz): Update proto service/message definitions once we have | |
| 8 // determined the final Engine/Service interface. | |
| 9 | |
| 10 package blimp; | |
| 11 | |
| 12 option optimize_for = LITE_RUNTIME; | |
| 13 | |
| 14 message CheckHealthRequest {} | |
| 15 message CheckHealthResponse { | |
| 16 enum Status { | |
| 17 UNKNOWN = 0; | |
| 18 OK = 1; | |
| 19 NOT_OK = 2; | |
| 20 } | |
| 21 | |
| 22 Status status = 1; | |
| 23 } | |
| 24 | |
| 25 message ShutDownRequest {} | |
| 26 message ShutDownResponse {} | |
| 27 | |
| 28 service Engine { | |
| 29 // Returns health status of the Engine. | |
| 30 rpc CheckHealth (CheckHealthRequest) returns (CheckHealthResponse) {} | |
| 31 // Makes the Engine shut down itself. | |
| 32 rpc ShutDown(ShutDownRequest) returns (ShutDownResponse) {} | |
| 33 } | |
| OLD | NEW |