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

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: Fixed notification registration. 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 SET_STR(favicon_url); 267 SET_STR(favicon_url);
268 SET_STR(url); 268 SET_STR(url);
269 SET_BOOL(safe_for_autoreplace); 269 SET_BOOL(safe_for_autoreplace);
270 SET_STR(originating_url); 270 SET_STR(originating_url);
271 SET_INT64(date_created); 271 SET_INT64(date_created);
272 SET_STR(input_encodings); 272 SET_STR(input_encodings);
273 SET_BOOL(show_in_default_list); 273 SET_BOOL(show_in_default_list);
274 SET_STR(suggestions_url); 274 SET_STR(suggestions_url);
275 SET_INT32(prepopulate_id); 275 SET_INT32(prepopulate_id);
276 SET_BOOL(autogenerate_keyword); 276 SET_BOOL(autogenerate_keyword);
277 SET_INT32(logo_id);
278 SET_BOOL(created_by_policy); 277 SET_BOOL(created_by_policy);
279 SET_STR(instant_url); 278 SET_STR(instant_url);
280 SET_INT64(id);
281 SET_INT64(last_modified); 279 SET_INT64(last_modified);
282 SET_STR(sync_guid); 280 SET_STR(sync_guid);
283 return value; 281 return value;
284 } 282 }
285 283
286 DictionaryValue* SessionSpecificsToValue( 284 DictionaryValue* SessionSpecificsToValue(
287 const sync_pb::SessionSpecifics& proto) { 285 const sync_pb::SessionSpecifics& proto) {
288 DictionaryValue* value = new DictionaryValue(); 286 DictionaryValue* value = new DictionaryValue();
289 SET_STR(session_tag); 287 SET_STR(session_tag);
290 SET(header, SessionHeaderToValue); 288 SET(header, SessionHeaderToValue);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 #undef SET_BOOL 336 #undef SET_BOOL
339 #undef SET_BYTES 337 #undef SET_BYTES
340 #undef SET_INT32 338 #undef SET_INT32
341 #undef SET_INT64 339 #undef SET_INT64
342 #undef SET_INT64_REP 340 #undef SET_INT64_REP
343 #undef SET_STR 341 #undef SET_STR
344 342
345 #undef SET_EXTENSION 343 #undef SET_EXTENSION
346 344
347 } // namespace browser_sync 345 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/protocol/search_engine_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698