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

Side by Side Diff: sync/protocol/proto_value_conversions.cc

Issue 452283003: sync: Finish non-blocking type encryption support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cryptographer testing Created 6 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 | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/sync_manager_impl.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Keep this file in sync with the .proto files in this directory. 5 // Keep this file in sync with the .proto files in this directory.
6 6
7 #include "sync/protocol/proto_value_conversions.h" 7 #include "sync/protocol/proto_value_conversions.h"
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 } 890 }
891 891
892 base::DictionaryValue* GetUpdateTriggersToValue( 892 base::DictionaryValue* GetUpdateTriggersToValue(
893 const sync_pb::GetUpdateTriggers& proto) { 893 const sync_pb::GetUpdateTriggers& proto) {
894 base::DictionaryValue* value = new base::DictionaryValue(); 894 base::DictionaryValue* value = new base::DictionaryValue();
895 SET_STR_REP(notification_hint); 895 SET_STR_REP(notification_hint);
896 SET_BOOL(client_dropped_hints); 896 SET_BOOL(client_dropped_hints);
897 SET_BOOL(invalidations_out_of_sync); 897 SET_BOOL(invalidations_out_of_sync);
898 SET_INT64(local_modification_nudges); 898 SET_INT64(local_modification_nudges);
899 SET_INT64(datatype_refresh_nudges); 899 SET_INT64(datatype_refresh_nudges);
900 SET_BOOL(initial_sync_in_progress);
901 return value; 900 return value;
902 } 901 }
903 902
904 base::DictionaryValue* DataTypeProgressMarkerToValue( 903 base::DictionaryValue* DataTypeProgressMarkerToValue(
905 const sync_pb::DataTypeProgressMarker& proto) { 904 const sync_pb::DataTypeProgressMarker& proto) {
906 base::DictionaryValue* value = new base::DictionaryValue(); 905 base::DictionaryValue* value = new base::DictionaryValue();
907 SET_INT32(data_type_id); 906 SET_INT32(data_type_id);
908 SET_BYTES(token); 907 SET_BYTES(token);
909 SET_INT64(timestamp_token_for_migration); 908 SET_INT64(timestamp_token_for_migration);
910 SET_STR(notification_hint); 909 SET_STR(notification_hint);
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 #undef SET_BYTES 1122 #undef SET_BYTES
1124 #undef SET_INT32 1123 #undef SET_INT32
1125 #undef SET_INT64 1124 #undef SET_INT64
1126 #undef SET_INT64_REP 1125 #undef SET_INT64_REP
1127 #undef SET_STR 1126 #undef SET_STR
1128 #undef SET_STR_REP 1127 #undef SET_STR_REP
1129 1128
1130 #undef SET_FIELD 1129 #undef SET_FIELD
1131 1130
1132 } // namespace syncer 1131 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698