1 // Copyright 2014 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.
5 // Protocol buffer definitions for Syncable FileSystem.
9 option optimize_for = LITE_RUNTIME;
13 message HostStatusParameters {
15 CONNECTIVITY_UNTESTED = 0;
16 CONNECTIVITY_NONE = 1;
17 CONNECTIVITY_LIMITED = 2;
18 CONNECTIVITY_CONNECTING = 3;
19 CONNECTIVITY_CONNECTED = 4;
23 UPDATE_STATUS_UNKNOWN = 0;
24 UPDATE_STATUS_UPDATING = 1;
25 UPDATE_STATUS_REBOOTING = 2;
26 UPDATE_STATUS_UPDATED = 3;
29 optional string domain = 1;
30 optional Connectivity connectivity = 2;
31 optional UpdateStatus update_status = 3;
32 repeated string paired_controllers = 4;
36 optional int32 api_version = 1;
37 optional HostStatusParameters parameters = 2;
40 message ConfigureHostParameters {
41 optional bool accepted_eula = 1;
42 optional string lang = 2;
43 optional string timezone = 3;
44 optional bool send_reports = 4;
45 optional string keyboard_layout = 5;
48 message ConfigureHost {
49 optional int32 api_version = 1;
50 optional ConfigureHostParameters parameters = 2;
53 message PairDevicesParameters {
54 optional string controller_access_token = 1;
55 optional string admin_access_token = 2;
59 optional int32 api_version = 1;
60 optional PairDevicesParameters parameters = 2;
63 message CompleteSetupParameters {
64 optional bool add_another = 1;
67 message CompleteSetup {
68 optional int32 api_version = 1;
69 optional CompleteSetupParameters parameters = 2;
72 message ErrorParameters {
73 optional int32 code = 1;
74 optional string description = 2;
78 optional int32 api_version = 1;
79 optional ErrorParameters parameters = 2;