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

Unified Diff: components/sync/protocol/data_type_state.proto

Issue 2394573002: [Sync] Rename DataTypeState to ModelTypeState. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/protocol/data_type_state.proto
diff --git a/components/sync/protocol/data_type_state.proto b/components/sync/protocol/data_type_state.proto
deleted file mode 100644
index 2e8644db466e2879d99c75de21b73e5d3928f0ce..0000000000000000000000000000000000000000
--- a/components/sync/protocol/data_type_state.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-
-package sync_pb;
-
-import "sync.proto";
-
-// Sync proto to store data type global metadata in model type storage.
-message DataTypeState {
- // The latest progress markers received from the server.
- optional DataTypeProgressMarker progress_marker = 1;
-
- // A data type context. Sent to the server in every commit or update
- // request. May be updated by either responses from the server or requests
- // made on the model thread. The interpretation of this value may be
- // data-type specific. Many data types ignore it.
- optional DataTypeContext type_context = 2;
-
- // This value is set if this type's data should be encrypted on the server.
- // If this key changes, the client will need to re-commit all of its local
- // data to the server using the new encryption key.
- optional string encryption_key_name = 3;
-
- // This flag is set to true when the first download cycle is complete. The
- // ModelTypeProcessor should not attempt to commit any items until this
- // flag is set.
- optional bool initial_sync_done = 4;
-}
« no previous file with comments | « components/sync/engine_impl/model_type_worker_unittest.cc ('k') | components/sync/protocol/model_type_state.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698