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

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

Issue 7669052: Added DataTypeController integration and UI surfacing for syncing Search Engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Unsynced id and logo_id 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 SET_STR(favicon_url); 264 SET_STR(favicon_url);
265 SET_STR(url); 265 SET_STR(url);
266 SET_BOOL(safe_for_autoreplace); 266 SET_BOOL(safe_for_autoreplace);
267 SET_STR(originating_url); 267 SET_STR(originating_url);
268 SET_INT64(date_created); 268 SET_INT64(date_created);
269 SET_STR(input_encodings); 269 SET_STR(input_encodings);
270 SET_BOOL(show_in_default_list); 270 SET_BOOL(show_in_default_list);
271 SET_STR(suggestions_url); 271 SET_STR(suggestions_url);
272 SET_INT32(prepopulate_id); 272 SET_INT32(prepopulate_id);
273 SET_BOOL(autogenerate_keyword); 273 SET_BOOL(autogenerate_keyword);
274 SET_INT32(logo_id);
275 SET_BOOL(created_by_policy); 274 SET_BOOL(created_by_policy);
276 SET_STR(instant_url); 275 SET_STR(instant_url);
277 SET_INT64(id);
278 SET_INT64(last_modified); 276 SET_INT64(last_modified);
279 SET_STR(sync_guid); 277 SET_STR(sync_guid);
280 return value; 278 return value;
281 } 279 }
282 280
283 DictionaryValue* SessionSpecificsToValue( 281 DictionaryValue* SessionSpecificsToValue(
284 const sync_pb::SessionSpecifics& proto) { 282 const sync_pb::SessionSpecifics& proto) {
285 DictionaryValue* value = new DictionaryValue(); 283 DictionaryValue* value = new DictionaryValue();
286 SET_STR(session_tag); 284 SET_STR(session_tag);
287 SET(header, SessionHeaderToValue); 285 SET(header, SessionHeaderToValue);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 #undef SET_BOOL 333 #undef SET_BOOL
336 #undef SET_BYTES 334 #undef SET_BYTES
337 #undef SET_INT32 335 #undef SET_INT32
338 #undef SET_INT64 336 #undef SET_INT64
339 #undef SET_INT64_REP 337 #undef SET_INT64_REP
340 #undef SET_STR 338 #undef SET_STR
341 339
342 #undef SET_EXTENSION 340 #undef SET_EXTENSION
343 341
344 } // namespace browser_sync 342 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698