• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

constants/22-Nov-2023-187

dbus/22-Nov-2023-3,2692,526

switches/22-Nov-2023-2711

.gitD01-Jan-19700

LICENSED22-Nov-20231.5 KiB2827

MODULE_LICENSE_BSDD22-Nov-20230

OWNERSD22-Nov-2023200 86

READMED22-Nov-2023942 1915

codereview.settingsD22-Nov-2023185 54

system_api.gypD22-Nov-20233.1 KiB9089

system_api.pcD22-Nov-2023195 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.