1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // Autogenerated by the ProtoZero C compiler plugin. 18 // Invoked by tools/gen_c_protos 19 // DO NOT EDIT. 20 #ifndef SRC_SHARED_LIB_TEST_PROTOS_EXTENSIONS_PZC_H_ 21 #define SRC_SHARED_LIB_TEST_PROTOS_EXTENSIONS_PZC_H_ 22 23 #include <stdbool.h> 24 #include <stdint.h> 25 26 #include "perfetto/public/pb_macros.h" 27 28 PERFETTO_PB_MSG(protozero_test_protos_SystemB); 29 PERFETTO_PB_FIELD(protozero_test_protos_SystemB, VARINT, uint32_t, int_b, 1); 30 PERFETTO_PB_FIELD(protozero_test_protos_SystemB, 31 STRING, 32 const char*, 33 string_b, 34 2); 35 36 PERFETTO_PB_MSG(protozero_test_protos_SystemA); 37 PERFETTO_PB_FIELD(protozero_test_protos_SystemA, VARINT, uint32_t, int_a, 1); 38 PERFETTO_PB_FIELD(protozero_test_protos_SystemA, 39 STRING, 40 const char*, 41 string_a, 42 2); 43 44 PERFETTO_PB_MSG(protozero_test_protos_RealFakeEvent); 45 PERFETTO_PB_FIELD(protozero_test_protos_RealFakeEvent, 46 VARINT, 47 uint32_t, 48 base_int, 49 1); 50 PERFETTO_PB_FIELD(protozero_test_protos_RealFakeEvent, 51 STRING, 52 const char*, 53 base_string, 54 2); 55 56 PERFETTO_PB_EXTENSION_FIELD(protozero_test_protos_BrowserExtension, 57 protozero_test_protos_RealFakeEvent, 58 MSG, 59 protozero_test_protos_SystemA, 60 extension_a, 61 10); 62 PERFETTO_PB_EXTENSION_FIELD(protozero_test_protos_BrowserExtension, 63 protozero_test_protos_RealFakeEvent, 64 MSG, 65 protozero_test_protos_SystemB, 66 extension_b, 67 11); 68 #endif // SRC_SHARED_LIB_TEST_PROTOS_EXTENSIONS_PZC_H_ 69