| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 5 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
| 6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
| 7 | 7 |
| 8 #include "components/sync/protocol/app_list_specifics.pb.h" | 8 #include "components/sync/protocol/app_list_specifics.pb.h" |
| 9 #include "components/sync/protocol/app_notification_specifics.pb.h" | 9 #include "components/sync/protocol/app_notification_specifics.pb.h" |
| 10 #include "components/sync/protocol/app_setting_specifics.pb.h" | 10 #include "components/sync/protocol/app_setting_specifics.pb.h" |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 } | 533 } |
| 534 | 534 |
| 535 VISIT_PROTO_FIELDS(const sync_pb::HistoryDeleteDirectives& proto) { | 535 VISIT_PROTO_FIELDS(const sync_pb::HistoryDeleteDirectives& proto) { |
| 536 VISIT(enabled); | 536 VISIT(enabled); |
| 537 } | 537 } |
| 538 | 538 |
| 539 VISIT_PROTO_FIELDS(const sync_pb::KeystoreEncryptionFlags& proto) { | 539 VISIT_PROTO_FIELDS(const sync_pb::KeystoreEncryptionFlags& proto) { |
| 540 VISIT(enabled); | 540 VISIT(enabled); |
| 541 } | 541 } |
| 542 | 542 |
| 543 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection::Language& proto) { |
| 544 VISIT(language_code); |
| 545 VISIT(is_reliable); |
| 546 } |
| 547 |
| 548 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection& proto) { |
| 549 VISIT_REP(detected_languages); |
| 550 VISIT(adopted_language); |
| 551 } |
| 552 |
| 543 VISIT_PROTO_FIELDS(const sync_pb::LinkedAppIconInfo& proto) { | 553 VISIT_PROTO_FIELDS(const sync_pb::LinkedAppIconInfo& proto) { |
| 544 VISIT(url); | 554 VISIT(url); |
| 545 VISIT(size); | 555 VISIT(size); |
| 546 } | 556 } |
| 547 | 557 |
| 548 VISIT_PROTO_FIELDS(const sync_pb::ManagedUserSettingSpecifics& proto) { | 558 VISIT_PROTO_FIELDS(const sync_pb::ManagedUserSettingSpecifics& proto) { |
| 549 VISIT(name); | 559 VISIT(name); |
| 550 VISIT(value); | 560 VISIT(value); |
| 551 } | 561 } |
| 552 | 562 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 VISIT_BYTES(compressed_value); | 864 VISIT_BYTES(compressed_value); |
| 855 VISIT(uncompressed_length); | 865 VISIT(uncompressed_length); |
| 856 VISIT_BYTES(custom_compressed_v1); | 866 VISIT_BYTES(custom_compressed_v1); |
| 857 } | 867 } |
| 858 | 868 |
| 859 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { | 869 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { |
| 860 VISIT(event_time_usec); | 870 VISIT(event_time_usec); |
| 861 VISIT(navigation_id); | 871 VISIT(navigation_id); |
| 862 VISIT(session_id); | 872 VISIT(session_id); |
| 863 VISIT(field_trial_event); | 873 VISIT(field_trial_event); |
| 874 VISIT(language_detection); |
| 864 } | 875 } |
| 865 | 876 |
| 866 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { | 877 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { |
| 867 VISIT(id); | 878 VISIT(id); |
| 868 VISIT_ENUM(status); | 879 VISIT_ENUM(status); |
| 869 VISIT(name_on_card); | 880 VISIT(name_on_card); |
| 870 VISIT_ENUM(type); | 881 VISIT_ENUM(type); |
| 871 VISIT(last_four); | 882 VISIT(last_four); |
| 872 VISIT(exp_month); | 883 VISIT(exp_month); |
| 873 VISIT(exp_year); | 884 VISIT(exp_year); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 | 924 |
| 914 } // namespace syncer | 925 } // namespace syncer |
| 915 | 926 |
| 916 #undef VISIT_ | 927 #undef VISIT_ |
| 917 #undef VISIT_BYTES | 928 #undef VISIT_BYTES |
| 918 #undef VISIT_ENUM | 929 #undef VISIT_ENUM |
| 919 #undef VISIT | 930 #undef VISIT |
| 920 #undef VISIT_REP | 931 #undef VISIT_REP |
| 921 | 932 |
| 922 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 933 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
| OLD | NEW |