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

..--

constants/23-Nov-2023-187

dbus/23-Nov-2023-6,6735,180

switches/23-Nov-2023-4620

LICENSED23-Nov-20231.5 KiB2827

METADATAD23-Nov-202339 43

MODULE_LICENSE_BSDD23-Nov-20230

OWNERSD23-Nov-202375 54

READMED23-Nov-2023942 1915

system_api.gypD23-Nov-202312.2 KiB383382

system_api.pcD23-Nov-2023506 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.