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

Side by Side Diff: blimp/common/proto/server_control.proto

Issue 1403083002: [Blimp] Adds Blimp EngineSession and ClientSession skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « blimp/common/proto/control.proto ('k') | blimp/engine/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 // Message definitions for server-originating browser control messages.
6 //
7 // Current definitions are just placeholders and are NOT final.
8 // Feel free to modify this interface as necessary during feature work.
9
10 syntax = "proto2";
11
12 option optimize_for = LITE_RUNTIME;
13
14 message StatusArgs {
15 optional string url = 1;
16 optional int32 loading_progress = 2;
17 // Add error code, error message, status strings, etc.
18 }
19
20 message ResetSessionArgs {
21 }
22
23 message ErrorArgs {
24 enum ErrorCode {
25 UNKNOWN = 1;
26 UNRESPONSIVE = 2;
27 SERVER_ERROR = 3;
28 }
29
30 optional ErrorCode error_code = 1;
31 optional int32 server_error_code = 2;
32 }
33
34 message ServerControlMessage {
35 enum Type {
36 ERROR = 1;
37 STATUS = 2;
38 }
39 optional Type type = 1;
40
41 optional ErrorArgs error = 1000;
42 optional StatusArgs status = 1001;
43 }
OLDNEW
« no previous file with comments | « blimp/common/proto/control.proto ('k') | blimp/engine/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698