os_preference_specifics.proto 913 B

1234567891011121314151617181920212223242526
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. //
  5. // Sync protocol datatype extension for Chrome OS preferences.
  6. // If you change or add any fields in this file, update proto_visitors.h and
  7. // potentially proto_enum_conversions.{h, cc}.
  8. syntax = "proto2";
  9. option java_multiple_files = true;
  10. option java_package = "org.chromium.components.sync.protocol";
  11. option optimize_for = LITE_RUNTIME;
  12. package sync_pb;
  13. import "components/sync/protocol/preference_specifics.proto";
  14. // Properties of a synced Chrome OS system preference. Uses PreferenceSpecifics
  15. // instead of declaring name and value fields to allow more code sharing in the
  16. // client (e.g. all PrefModelAssociators can operate on PreferenceSpecifics).
  17. message OsPreferenceSpecifics {
  18. optional PreferenceSpecifics preference = 1;
  19. }