persisted_entity_data.proto 902 B

1234567891011121314151617181920212223242526
  1. // Copyright 2018 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. syntax = "proto2";
  5. option java_multiple_files = true;
  6. option java_package = "org.chromium.components.sync.protocol";
  7. option optimize_for = LITE_RUNTIME;
  8. package sync_pb;
  9. import "components/sync/protocol/entity_specifics.proto";
  10. // Sync proto to store entity data similar to what the legacy Directory used
  11. // to store, used to persist data locally and never sent through the wire.
  12. //
  13. // Because it's conceptually similar to SyncEntity (actual protocol) and it's
  14. // unclear how big this'll grow, we've kept compatibility with SyncEntity by
  15. // using the same field numbers.
  16. message PersistedEntityData {
  17. // See corresponding fields in SyncEntity for details.
  18. optional string name = 8;
  19. optional EntitySpecifics specifics = 21;
  20. }