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