| OLD | NEW |
| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 SET_BOOL(navigation_from_address_bar); | 195 SET_BOOL(navigation_from_address_bar); |
| 196 SET_BOOL(navigation_home_page); | 196 SET_BOOL(navigation_home_page); |
| 197 SET_BOOL(navigation_chain_start); | 197 SET_BOOL(navigation_chain_start); |
| 198 SET_BOOL(navigation_chain_end); | 198 SET_BOOL(navigation_chain_end); |
| 199 SET_INT64(global_id); | 199 SET_INT64(global_id); |
| 200 SET_STR(search_terms); | 200 SET_STR(search_terms); |
| 201 SET_STR(favicon_url); | 201 SET_STR(favicon_url); |
| 202 SET_ENUM(blocked_state, GetBlockedStateString); | 202 SET_ENUM(blocked_state, GetBlockedStateString); |
| 203 SET_STR_REP(content_pack_categories); | 203 SET_STR_REP(content_pack_categories); |
| 204 SET_INT32(http_status_code); | 204 SET_INT32(http_status_code); |
| 205 SET_INT32(referrer_policy); |
| 205 return value; | 206 return value; |
| 206 } | 207 } |
| 207 | 208 |
| 208 base::DictionaryValue* PasswordSpecificsDataToValue( | 209 base::DictionaryValue* PasswordSpecificsDataToValue( |
| 209 const sync_pb::PasswordSpecificsData& proto) { | 210 const sync_pb::PasswordSpecificsData& proto) { |
| 210 base::DictionaryValue* value = new base::DictionaryValue(); | 211 base::DictionaryValue* value = new base::DictionaryValue(); |
| 211 SET_INT32(scheme); | 212 SET_INT32(scheme); |
| 212 SET_STR(signon_realm); | 213 SET_STR(signon_realm); |
| 213 SET_STR(origin); | 214 SET_STR(origin); |
| 214 SET_STR(action); | 215 SET_STR(action); |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 #undef SET_BYTES | 1039 #undef SET_BYTES |
| 1039 #undef SET_INT32 | 1040 #undef SET_INT32 |
| 1040 #undef SET_INT64 | 1041 #undef SET_INT64 |
| 1041 #undef SET_INT64_REP | 1042 #undef SET_INT64_REP |
| 1042 #undef SET_STR | 1043 #undef SET_STR |
| 1043 #undef SET_STR_REP | 1044 #undef SET_STR_REP |
| 1044 | 1045 |
| 1045 #undef SET_FIELD | 1046 #undef SET_FIELD |
| 1046 | 1047 |
| 1047 } // namespace syncer | 1048 } // namespace syncer |
| OLD | NEW |