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

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

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/sync/protocol/proto_value_conversions.h" 7 #include "chrome/browser/sync/protocol/proto_value_conversions.h"
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 SET_STR(company_name); 193 SET_STR(company_name);
194 194
195 SET_STR(address_home_line1); 195 SET_STR(address_home_line1);
196 SET_STR(address_home_line2); 196 SET_STR(address_home_line2);
197 SET_STR(address_home_city); 197 SET_STR(address_home_city);
198 SET_STR(address_home_state); 198 SET_STR(address_home_state);
199 SET_STR(address_home_zip); 199 SET_STR(address_home_zip);
200 SET_STR(address_home_country); 200 SET_STR(address_home_country);
201 201
202 SET_STR(phone_home_whole_number); 202 SET_STR(phone_home_whole_number);
203 SET_STR(phone_fax_whole_number);
Ilya Sherman 2011/09/15 03:47:08 (If you're not changing the protobuf, this should
James Hawkins 2011/09/16 03:23:28 Done.
204 return value; 203 return value;
205 } 204 }
206 205
207 DictionaryValue* BookmarkSpecificsToValue( 206 DictionaryValue* BookmarkSpecificsToValue(
208 const sync_pb::BookmarkSpecifics& proto) { 207 const sync_pb::BookmarkSpecifics& proto) {
209 DictionaryValue* value = new DictionaryValue(); 208 DictionaryValue* value = new DictionaryValue();
210 SET_STR(url); 209 SET_STR(url);
211 SET_BYTES(favicon); 210 SET_BYTES(favicon);
212 SET_STR(title); 211 SET_STR(title);
213 return value; 212 return value;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 #undef SET_BOOL 336 #undef SET_BOOL
338 #undef SET_BYTES 337 #undef SET_BYTES
339 #undef SET_INT32 338 #undef SET_INT32
340 #undef SET_INT64 339 #undef SET_INT64
341 #undef SET_INT64_REP 340 #undef SET_INT64_REP
342 #undef SET_STR 341 #undef SET_STR
343 342
344 #undef SET_EXTENSION 343 #undef SET_EXTENSION
345 344
346 } // namespace browser_sync 345 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698