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

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

Issue 127403002: [Autofill, Sync] Sync additional Autofill address fields for i18n. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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/protocol/autofill_specifics.proto ('k') | no next file » | 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 SET_STR_REP(email_address); 414 SET_STR_REP(email_address);
415 SET_STR(company_name); 415 SET_STR(company_name);
416 416
417 SET_STR(address_home_line1); 417 SET_STR(address_home_line1);
418 SET_STR(address_home_line2); 418 SET_STR(address_home_line2);
419 SET_STR(address_home_city); 419 SET_STR(address_home_city);
420 SET_STR(address_home_state); 420 SET_STR(address_home_state);
421 SET_STR(address_home_zip); 421 SET_STR(address_home_zip);
422 SET_STR(address_home_country); 422 SET_STR(address_home_country);
423 423
424 SET_STR(address_home_street_address);
425 SET_STR(address_home_sorting_code);
426 SET_STR(address_home_dependent_locality);
427
424 SET_STR_REP(phone_home_whole_number); 428 SET_STR_REP(phone_home_whole_number);
425 return value; 429 return value;
426 } 430 }
427 431
428 base::DictionaryValue* MetaInfoToValue( 432 base::DictionaryValue* MetaInfoToValue(
429 const sync_pb::MetaInfo& proto) { 433 const sync_pb::MetaInfo& proto) {
430 base::DictionaryValue* value = new base::DictionaryValue(); 434 base::DictionaryValue* value = new base::DictionaryValue();
431 SET_STR(key); 435 SET_STR(key);
432 SET_STR(value); 436 SET_STR(value);
433 return value; 437 return value;
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 #undef SET_BYTES 1042 #undef SET_BYTES
1039 #undef SET_INT32 1043 #undef SET_INT32
1040 #undef SET_INT64 1044 #undef SET_INT64
1041 #undef SET_INT64_REP 1045 #undef SET_INT64_REP
1042 #undef SET_STR 1046 #undef SET_STR
1043 #undef SET_STR_REP 1047 #undef SET_STR_REP
1044 1048
1045 #undef SET_FIELD 1049 #undef SET_FIELD
1046 1050
1047 } // namespace syncer 1051 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/protocol/autofill_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698