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

Unified Diff: blimp/common/proto/protocol_control.proto

Issue 1492643003: [Blimp Net] Add EngineAuthHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: blimp/common/proto/protocol_control.proto
diff --git a/blimp/common/proto/protocol_control.proto b/blimp/common/proto/protocol_control.proto
new file mode 100644
index 0000000000000000000000000000000000000000..4c913ceb1ac792b0c90a2e1ecc4709d9d4ae9f4e
--- /dev/null
+++ b/blimp/common/proto/protocol_control.proto
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package blimp;
+
+// Contains Client->Engine information to establish a authenticated connection
+message StartConnectionMessage {
+ optional string client_token = 1;
+ optional int32 protocol_version = 2;
+ // TODO(haibinlu): add checkpoints.
+}
+
+message ProtocolControlMessage {
+ enum Type {
+ UNKNOWN = 0;
+
+ // Client => Server types.
+ START_CONNECTION = 1;
+ }
+
+ optional Type type = 1;
+
+ optional StartConnectionMessage start_connection = 1000;
+}

Powered by Google App Engine
This is Rietveld 408576698