| 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 VISIT(enabled); | 540 VISIT(enabled); |
| 541 } | 541 } |
| 542 | 542 |
| 543 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection::Language& proto) { | 543 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection::Language& proto) { |
| 544 VISIT(language_code); | 544 VISIT(language_code); |
| 545 VISIT(is_reliable); | 545 VISIT(is_reliable); |
| 546 } | 546 } |
| 547 | 547 |
| 548 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection& proto) { | 548 VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection& proto) { |
| 549 VISIT_REP(detected_languages); | 549 VISIT_REP(detected_languages); |
| 550 VISIT(adopted_language); | 550 VISIT(adopted_language_code); |
| 551 } | 551 } |
| 552 | 552 |
| 553 VISIT_PROTO_FIELDS(const sync_pb::LinkedAppIconInfo& proto) { | 553 VISIT_PROTO_FIELDS(const sync_pb::LinkedAppIconInfo& proto) { |
| 554 VISIT(url); | 554 VISIT(url); |
| 555 VISIT(size); | 555 VISIT(size); |
| 556 } | 556 } |
| 557 | 557 |
| 558 VISIT_PROTO_FIELDS(const sync_pb::ManagedUserSettingSpecifics& proto) { | 558 VISIT_PROTO_FIELDS(const sync_pb::ManagedUserSettingSpecifics& proto) { |
| 559 VISIT(name); | 559 VISIT(name); |
| 560 VISIT(value); | 560 VISIT(value); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 | 925 |
| 926 } // namespace syncer | 926 } // namespace syncer |
| 927 | 927 |
| 928 #undef VISIT_ | 928 #undef VISIT_ |
| 929 #undef VISIT_BYTES | 929 #undef VISIT_BYTES |
| 930 #undef VISIT_ENUM | 930 #undef VISIT_ENUM |
| 931 #undef VISIT | 931 #undef VISIT |
| 932 #undef VISIT_REP | 932 #undef VISIT_REP |
| 933 | 933 |
| 934 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 934 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
| OLD | NEW |