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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « sync/protocol/client_debug_info.proto ('k') | sync/protocol/device_info_specifics.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true;
9
10 package sync_pb;
11
12 import "sync.proto";
13
14 // Sync proto to store data type global metadata in model type storage.
15 message DataTypeState {
16 // The latest progress markers received from the server.
17 optional DataTypeProgressMarker progress_marker = 1;
18
19 // A data type context. Sent to the server in every commit or update
20 // request. May be updated by either responses from the server or requests
21 // made on the model thread. The interpretation of this value may be
22 // data-type specific. Many data types ignore it.
23 optional DataTypeContext type_context = 2;
24
25 // This value is set if this type's data should be encrypted on the server.
26 // If this key changes, the client will need to re-commit all of its local
27 // data to the server using the new encryption key.
28 optional string encryption_key_name = 3;
29
30 // This flag is set to true when the first download cycle is complete. The
31 // ModelTypeProcessor should not attempt to commit any items until this
32 // flag is set.
33 optional bool initial_sync_done = 4;
34 }
OLDNEW
« no previous file with comments | « sync/protocol/client_debug_info.proto ('k') | sync/protocol/device_info_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698