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

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: Addresses Wez's comments 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/control.proto b/blimp/common/proto/protocol_control.proto
similarity index 50%
copy from blimp/common/proto/control.proto
copy to blimp/common/proto/protocol_control.proto
index 1a909b6da4177f62114705fccfd738052ca913dd..848ba82b9954827f4ce68dd13500311f1c240069 100644
--- a/blimp/common/proto/control.proto
+++ b/blimp/common/proto/protocol_control.proto
@@ -1,32 +1,28 @@
// 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.
-//
-// Message definitions for browser control messages.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-import "size.proto";
-
package blimp;
-message ControlMessage {
+// Contains Client->Engine information to establish a authenticated connection.
+message StartConnectionMessage {
+ optional string client_token = 1;
+ optional int32 protocol_version = 2;
+}
+
+message ProtocolControlMessage {
enum Type {
UNKNOWN = 0;
- // Client <=> Server types.
- CREATE_TAB = 1;
- CLOSE_TAB = 2;
-
// Client => Server types.
- SIZE = 3;
+ START_CONNECTION = 1;
}
optional Type type = 1;
- // Feature-specific messages follow.
- // Only one of these fields may be set per ControlMessage.
- optional SizeMessage resize = 1000;
+ optional StartConnectionMessage start_connection = 1000;
}

Powered by Google App Engine
This is Rietveld 408576698