• Ken Rockot's avatar
    [mojom] Introduce [Stable] attribute · d5b774bb
    Ken Rockot authored
    Types tagged with the [Stable] attribute can only depend on builtin
    mojom types or other user-defined types tagged with the [Stable]
    attribute.
    
    This attribute can be used to indicate that a mojom definition is safe
    to rely upon in situations where version skew must be tolerated.
    
    A follow-up CL will introduce a presubmit to ensure that types marked
    [Stable] do not change in a way that breaks backward-compatibility.
    
    Bug: 1070663
    Change-Id: Ib7d966c15742f6acd6c8c12cd1ce3fee55aba7cd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218803
    Commit-Queue: Ken Rockot <rockot@google.com>
    Reviewed-by: default avatarOksana Zhuravlova <oksamyt@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#772968}
    d5b774bb
README.md 28.7 KB