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

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

Issue 310463005: Fill in more name fields with requestAutocomplete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dumb test is dumb Created 6 years, 6 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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