blob: 2b4bfe62ac38efd9542736cee1c66c61332cce61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
// Copyright 2017 The Chromium OS 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 login_manager;
// ARC startup options sent from Chrome to session manager. This message is
// used in SessionManagerInterface.StartArcInterface method.
message StartArcInstanceRequest {
enum PackageCacheMode {
// Performs packages cache setup if the pre-generated cache exists.
DEFAULT = 0;
// Performs packages cache setup if the pre-generated cache exists and
// copies resulting packages.xml to the temporary location after
// SystemServer initialized the package manager.
COPY_ON_INIT = 1;
// Skips packages cache setup and copies resulting packages.xml to the
// temporary location after SystemServer initialized the package manager.
SKIP_SETUP_COPY_ON_INIT = 2;
}
// Account ID of the user to start ARC for. This must be the same as the
// one given in StartSession.
optional string account_id = 1;
// Option to disable ACTION_BOOT_COMPLETED broadcast for 3rd party apps.
optional bool skip_boot_completed_broadcast = 2;
// Option to enable package manager service to scan /vendor/priv-app
// directory.
optional bool scan_vendor_priv_app = 3;
// Option to start the container for Chrome OS login screen. When this is set
// and true, the container will start only a handful of processes that don't
// read an actual user's /data. |account_id|, |skip_boot_completed_broadcast|,
// and |scan_vendor_priv_app| are ignored when |for_login_screen| is true.
optional bool for_login_screen = 4;
// Deprecated. Do not use.
// Option to create a server socket in session_manager.
// TODO(yusukes): Make this always enabled and then remove the field.
optional bool create_server_socket = 5;
// Option to enable native bridge experiment (b/63133475).
optional bool native_bridge_experiment = 6;
// Optional mode for packages cache tests.
optional PackageCacheMode packages_cache_mode = 7 [default = DEFAULT];
// Next ID to use: 8
}
// ARC start options sent from Chrome to session manager. This message is used
// in the SessionManagerInterface.StartArcMiniContainer method.
message StartArcMiniContainerRequest {
optional bool native_bridge_experiment = 1 [default = false];
}
// ARC upgrade options sent from Chrome to session manager. This message is used
// in the SessionManagerInterface.UpgradeArcContainer method.
message UpgradeArcContainerRequest {
enum PackageCacheMode {
// Performs packages cache setup if the pre-generated cache exists.
DEFAULT = 0;
// Performs packages cache setup if the pre-generated cache exists and
// copies resulting packages.xml to the temporary location after
// SystemServer initialized the package manager.
COPY_ON_INIT = 1;
// Skips packages cache setup and copies resulting packages.xml to the
// temporary location after SystemServer initialized the package manager.
SKIP_SETUP_COPY_ON_INIT = 2;
}
// Account ID of the user to start ARC for. This must be the same as the
// one given in StartSession.
required string account_id = 1;
// Option to disable ACTION_BOOT_COMPLETED broadcast for 3rd party apps.
optional bool skip_boot_completed_broadcast = 2 [default = false];
// Option to enable package manager service to scan /vendor/priv-app
// directory.
optional bool scan_vendor_priv_app = 3 [default = false];
// Optional mode for packages cache tests.
optional PackageCacheMode packages_cache_mode = 4 [default = DEFAULT];
// Next ID to use: 5
}
|