Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: sync/protocol/entity_metadata.proto

Issue 1918923002: [Sync] USS: Ignore encryption changes during conflict resolution 1/2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true; 8 option retain_unknown_fields = true;
9 9
10 package sync_pb; 10 package sync_pb;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Entity creation and modification timestamps. 45 // Entity creation and modification timestamps.
46 // Assigned by the client and synced by the server, though the server usually 46 // Assigned by the client and synced by the server, though the server usually
47 // doesn't bother to inspect their values. 47 // doesn't bother to inspect their values.
48 optional int64 creation_time = 7; 48 optional int64 creation_time = 7;
49 optional int64 modification_time = 8; 49 optional int64 modification_time = 8;
50 50
51 // A hash of the current entity specifics value. Used to detect whether 51 // A hash of the current entity specifics value. Used to detect whether
52 // entity's specifics value has changed without having to keep specifics in 52 // entity's specifics value has changed without having to keep specifics in
53 // memory. 53 // memory.
54 optional string specifics_hash = 9; 54 optional string specifics_hash = 9;
55
56 // A hash of the last specifics known by both the client and server. Used to
57 // detect when local commits and remote updates are just for encryption. This
58 // value will be the empty string only in the following cases: the entity is
59 // in sync with the server, has never been synced, or is deleted.
60 optional string base_specifics_hash = 10;
55 } 61 }
OLDNEW
« no previous file with comments | « sync/internal_api/shared_model_type_processor_unittest.cc ('k') | sync/test/engine/mock_model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698