OLD | NEW |
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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 434 |
435 base::DictionaryValue* AutofillProfileSpecificsToValue( | 435 base::DictionaryValue* AutofillProfileSpecificsToValue( |
436 const sync_pb::AutofillProfileSpecifics& proto) { | 436 const sync_pb::AutofillProfileSpecifics& proto) { |
437 base::DictionaryValue* value = new base::DictionaryValue(); | 437 base::DictionaryValue* value = new base::DictionaryValue(); |
438 SET_STR(guid); | 438 SET_STR(guid); |
439 SET_STR(origin); | 439 SET_STR(origin); |
440 | 440 |
441 SET_STR_REP(name_first); | 441 SET_STR_REP(name_first); |
442 SET_STR_REP(name_middle); | 442 SET_STR_REP(name_middle); |
443 SET_STR_REP(name_last); | 443 SET_STR_REP(name_last); |
| 444 SET_STR_REP(name_full); |
444 SET_STR_REP(email_address); | 445 SET_STR_REP(email_address); |
445 SET_STR(company_name); | 446 SET_STR(company_name); |
446 | 447 |
447 SET_STR(address_home_line1); | 448 SET_STR(address_home_line1); |
448 SET_STR(address_home_line2); | 449 SET_STR(address_home_line2); |
449 SET_STR(address_home_city); | 450 SET_STR(address_home_city); |
450 SET_STR(address_home_state); | 451 SET_STR(address_home_state); |
451 SET_STR(address_home_zip); | 452 SET_STR(address_home_zip); |
452 SET_STR(address_home_country); | 453 SET_STR(address_home_country); |
453 | 454 |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 #undef SET_BYTES | 1109 #undef SET_BYTES |
1109 #undef SET_INT32 | 1110 #undef SET_INT32 |
1110 #undef SET_INT64 | 1111 #undef SET_INT64 |
1111 #undef SET_INT64_REP | 1112 #undef SET_INT64_REP |
1112 #undef SET_STR | 1113 #undef SET_STR |
1113 #undef SET_STR_REP | 1114 #undef SET_STR_REP |
1114 | 1115 |
1115 #undef SET_FIELD | 1116 #undef SET_FIELD |
1116 | 1117 |
1117 } // namespace syncer | 1118 } // namespace syncer |
OLD | NEW |