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

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

Issue 11552020: Add search_terms_replacement_key field to TemplateURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments now describe a simpler behavior for the parameter. Created 7 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
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 "base/base64.h" 9 #include "base/base64.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 SET_INT64(date_created); 395 SET_INT64(date_created);
396 SET_STR(input_encodings); 396 SET_STR(input_encodings);
397 SET_BOOL(show_in_default_list); 397 SET_BOOL(show_in_default_list);
398 SET_STR(suggestions_url); 398 SET_STR(suggestions_url);
399 SET_INT32(prepopulate_id); 399 SET_INT32(prepopulate_id);
400 SET_BOOL(autogenerate_keyword); 400 SET_BOOL(autogenerate_keyword);
401 SET_STR(instant_url); 401 SET_STR(instant_url);
402 SET_INT64(last_modified); 402 SET_INT64(last_modified);
403 SET_STR(sync_guid); 403 SET_STR(sync_guid);
404 SET_STR_REP(alternate_urls); 404 SET_STR_REP(alternate_urls);
405 SET_STR(search_terms_replacement_key);
405 return value; 406 return value;
406 } 407 }
407 408
408 DictionaryValue* SessionSpecificsToValue( 409 DictionaryValue* SessionSpecificsToValue(
409 const sync_pb::SessionSpecifics& proto) { 410 const sync_pb::SessionSpecifics& proto) {
410 DictionaryValue* value = new DictionaryValue(); 411 DictionaryValue* value = new DictionaryValue();
411 SET_STR(session_tag); 412 SET_STR(session_tag);
412 SET(header, SessionHeaderToValue); 413 SET(header, SessionHeaderToValue);
413 SET(tab, SessionTabToValue); 414 SET(tab, SessionTabToValue);
414 SET_INT32(tab_node_id); 415 SET_INT32(tab_node_id);
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 #undef SET_BYTES 706 #undef SET_BYTES
706 #undef SET_INT32 707 #undef SET_INT32
707 #undef SET_INT64 708 #undef SET_INT64
708 #undef SET_INT64_REP 709 #undef SET_INT64_REP
709 #undef SET_STR 710 #undef SET_STR
710 #undef SET_STR_REP 711 #undef SET_STR_REP
711 712
712 #undef SET_FIELD 713 #undef SET_FIELD
713 714
714 } // namespace syncer 715 } // namespace syncer
OLDNEW
« no previous file with comments | « chrome/test/data/web_database/version_48.sql ('k') | sync/protocol/search_engine_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698