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 "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 SET_BOOL(encrypt_typed_urls); | 302 SET_BOOL(encrypt_typed_urls); |
303 SET_BOOL(encrypt_extension_settings); | 303 SET_BOOL(encrypt_extension_settings); |
304 SET_BOOL(encrypt_extensions); | 304 SET_BOOL(encrypt_extensions); |
305 SET_BOOL(encrypt_sessions); | 305 SET_BOOL(encrypt_sessions); |
306 SET_BOOL(encrypt_app_settings); | 306 SET_BOOL(encrypt_app_settings); |
307 SET_BOOL(encrypt_apps); | 307 SET_BOOL(encrypt_apps); |
308 SET_BOOL(encrypt_search_engines); | 308 SET_BOOL(encrypt_search_engines); |
309 SET_BOOL(sync_tabs); | 309 SET_BOOL(sync_tabs); |
310 SET_BOOL(encrypt_everything); | 310 SET_BOOL(encrypt_everything); |
311 SET_REP(device_information, DeviceInformationToValue); | 311 SET_REP(device_information, DeviceInformationToValue); |
| 312 SET_BOOL(sync_tab_favicons); |
312 return value; | 313 return value; |
313 } | 314 } |
314 | 315 |
315 DictionaryValue* PasswordSpecificsToValue( | 316 DictionaryValue* PasswordSpecificsToValue( |
316 const sync_pb::PasswordSpecifics& proto) { | 317 const sync_pb::PasswordSpecifics& proto) { |
317 DictionaryValue* value = new DictionaryValue(); | 318 DictionaryValue* value = new DictionaryValue(); |
318 SET(encrypted, EncryptedDataToValue); | 319 SET(encrypted, EncryptedDataToValue); |
319 return value; | 320 return value; |
320 } | 321 } |
321 | 322 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 #undef SET_BYTES | 587 #undef SET_BYTES |
587 #undef SET_INT32 | 588 #undef SET_INT32 |
588 #undef SET_INT64 | 589 #undef SET_INT64 |
589 #undef SET_INT64_REP | 590 #undef SET_INT64_REP |
590 #undef SET_STR | 591 #undef SET_STR |
591 #undef SET_STR_REP | 592 #undef SET_STR_REP |
592 | 593 |
593 #undef SET_FIELD | 594 #undef SET_FIELD |
594 | 595 |
595 } // namespace browser_sync | 596 } // namespace browser_sync |
OLD | NEW |