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

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

Issue 1849563005: [Sync] Add cookie jar mismatch logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests again Created 4 years, 8 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/internal_api/test/fake_sync_manager.cc ('k') | sync/protocol/sync.proto » ('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 <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 SET_INT32(num_reflected_updates_downloaded); 1049 SET_INT32(num_reflected_updates_downloaded);
1050 SET(caller_info, GetUpdatesCallerInfoToValue); 1050 SET(caller_info, GetUpdatesCallerInfoToValue);
1051 return value; 1051 return value;
1052 } 1052 }
1053 1053
1054 scoped_ptr<base::DictionaryValue> ClientConfigParamsToValue( 1054 scoped_ptr<base::DictionaryValue> ClientConfigParamsToValue(
1055 const sync_pb::ClientConfigParams& proto) { 1055 const sync_pb::ClientConfigParams& proto) {
1056 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); 1056 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue());
1057 SET_INT32_REP(enabled_type_ids); 1057 SET_INT32_REP(enabled_type_ids);
1058 SET_BOOL(tabs_datatype_enabled); 1058 SET_BOOL(tabs_datatype_enabled);
1059 SET_BOOL(cookie_jar_mismatch);
1059 return value; 1060 return value;
1060 } 1061 }
1061 1062
1062 scoped_ptr<base::DictionaryValue> AttachmentIdProtoToValue( 1063 scoped_ptr<base::DictionaryValue> AttachmentIdProtoToValue(
1063 const sync_pb::AttachmentIdProto& proto) { 1064 const sync_pb::AttachmentIdProto& proto) {
1064 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); 1065 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue());
1065 SET_STR(unique_id); 1066 SET_STR(unique_id);
1066 return value; 1067 return value;
1067 } 1068 }
1068 1069
1069 #undef SET_TYPE 1070 #undef SET_TYPE
1070 #undef SET 1071 #undef SET
1071 #undef SET_REP 1072 #undef SET_REP
1072 1073
1073 #undef SET_BOOL 1074 #undef SET_BOOL
1074 #undef SET_BYTES 1075 #undef SET_BYTES
1075 #undef SET_INT32 1076 #undef SET_INT32
1076 #undef SET_INT64 1077 #undef SET_INT64
1077 #undef SET_INT64_REP 1078 #undef SET_INT64_REP
1078 #undef SET_STR 1079 #undef SET_STR
1079 #undef SET_STR_REP 1080 #undef SET_STR_REP
1080 1081
1081 #undef SET_FIELD 1082 #undef SET_FIELD
1082 1083
1083 } // namespace syncer 1084 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/protocol/sync.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698