| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 7 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| 8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 | 308 |
| 309 std::unique_ptr<base::DictionaryValue> SyncCycleCompletedEventInfoToValue( | 309 std::unique_ptr<base::DictionaryValue> SyncCycleCompletedEventInfoToValue( |
| 310 const sync_pb::SyncCycleCompletedEventInfo& proto); | 310 const sync_pb::SyncCycleCompletedEventInfo& proto); |
| 311 | 311 |
| 312 std::unique_ptr<base::DictionaryValue> ClientConfigParamsToValue( | 312 std::unique_ptr<base::DictionaryValue> ClientConfigParamsToValue( |
| 313 const sync_pb::ClientConfigParams& proto); | 313 const sync_pb::ClientConfigParams& proto); |
| 314 | 314 |
| 315 SYNC_EXPORT std::unique_ptr<base::DictionaryValue> AttachmentIdProtoToValue( | 315 SYNC_EXPORT std::unique_ptr<base::DictionaryValue> AttachmentIdProtoToValue( |
| 316 const sync_pb::AttachmentIdProto& proto); | 316 const sync_pb::AttachmentIdProto& proto); |
| 317 | 317 |
| 318 SYNC_EXPORT size_t |
| 319 GetEntitySpecificsSize(const sync_pb::EntitySpecifics& specifics); |
| 320 |
| 318 } // namespace syncer | 321 } // namespace syncer |
| 319 | 322 |
| 320 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 323 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |