• Home
Name Date Size #Lines LOC

..--

constants/03-May-2024-187

dbus/03-May-2024-3,9373,062

switches/03-May-2024-2711

LICENSED03-May-20241.5 KiB2827

MODULE_LICENSE_BSDD03-May-20240

OWNERSD03-May-202475 54

READMED03-May-2024942 1915

codereview.settingsD03-May-2024185 54

system_api.gypD03-May-20246.2 KiB190189

system_api.pcD03-May-2024311 54

README

1This repository (system_api.git) contains constants and definitions like
2D-Bus service names that are shared between Chromium and Chromium OS.
3
4This repository is only for things like headers and .proto files.
5No implementation should be added.
6
7When writting a .proto file make sure to use:
8"option optimize_for = LITE_RUNTIME;"
9
10This will force usage of a lite protobuf instead of a full/heavy weight
11protobuf. The browser only links against the light version, so you will get
12cryptic link errors about missing parts of Message if you define a protobuf here
13and then try to use it in Chrome. Currently CrOS links against the full
14protobuffer library, but that might change in the future.
15
16When declaring a protobuf, avoid use of required unless it is exactly what you
17mean. "Required is Forever" and very rarely should actually be used. Consult
18http://code.google.com/apis/protocolbuffers/docs/cpptutorial.html for a detailed
19of this issue.