| 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 <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 const sync_pb::PasswordSpecificsData& proto) { | 224 const sync_pb::PasswordSpecificsData& proto) { |
| 225 std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue()); | 225 std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
| 226 SET_INT32(scheme); | 226 SET_INT32(scheme); |
| 227 SET_STR(signon_realm); | 227 SET_STR(signon_realm); |
| 228 SET_STR(origin); | 228 SET_STR(origin); |
| 229 SET_STR(action); | 229 SET_STR(action); |
| 230 SET_STR(username_element); | 230 SET_STR(username_element); |
| 231 SET_STR(username_value); | 231 SET_STR(username_value); |
| 232 SET_STR(password_element); | 232 SET_STR(password_element); |
| 233 value->SetString("password_value", "<redacted>"); | 233 value->SetString("password_value", "<redacted>"); |
| 234 SET_BOOL(ssl_valid); | |
| 235 SET_BOOL(preferred); | 234 SET_BOOL(preferred); |
| 236 SET_INT64(date_created); | 235 SET_INT64(date_created); |
| 237 SET_BOOL(blacklisted); | 236 SET_BOOL(blacklisted); |
| 238 SET_INT32(type); | 237 SET_INT32(type); |
| 239 SET_INT32(times_used); | 238 SET_INT32(times_used); |
| 240 SET_STR(display_name); | 239 SET_STR(display_name); |
| 241 SET_STR(avatar_url); | 240 SET_STR(avatar_url); |
| 242 SET_STR(federation_url); | 241 SET_STR(federation_url); |
| 243 return value; | 242 return value; |
| 244 } | 243 } |
| (...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 #undef SET_BYTES | 1093 #undef SET_BYTES |
| 1095 #undef SET_INT32 | 1094 #undef SET_INT32 |
| 1096 #undef SET_INT64 | 1095 #undef SET_INT64 |
| 1097 #undef SET_INT64_REP | 1096 #undef SET_INT64_REP |
| 1098 #undef SET_STR | 1097 #undef SET_STR |
| 1099 #undef SET_STR_REP | 1098 #undef SET_STR_REP |
| 1100 | 1099 |
| 1101 #undef SET_FIELD | 1100 #undef SET_FIELD |
| 1102 | 1101 |
| 1103 } // namespace syncer | 1102 } // namespace syncer |
| OLD | NEW |