Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: third_party/protobuf/objectivec/GPBWireFormat.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 enum { 46 enum {
47 GPBWireFormatMessageSetItem = 1, 47 GPBWireFormatMessageSetItem = 1,
48 GPBWireFormatMessageSetTypeId = 2, 48 GPBWireFormatMessageSetTypeId = 2,
49 GPBWireFormatMessageSetMessage = 3 49 GPBWireFormatMessageSetMessage = 3
50 }; 50 };
51 51
52 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType) 52 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType)
53 __attribute__((const)); 53 __attribute__((const));
54 GPBWireFormat GPBWireFormatGetTagWireType(uint32_t tag) __attribute__((const)); 54 GPBWireFormat GPBWireFormatGetTagWireType(uint32_t tag) __attribute__((const));
55 uint32_t GPBWireFormatGetTagFieldNumber(uint32_t tag) __attribute__((const)); 55 uint32_t GPBWireFormatGetTagFieldNumber(uint32_t tag) __attribute__((const));
56 BOOL GPBWireFormatIsValidTag(uint32_t tag) __attribute__((const));
56 57
57 GPBWireFormat GPBWireFormatForType(GPBDataType dataType, BOOL isPacked) 58 GPBWireFormat GPBWireFormatForType(GPBDataType dataType, BOOL isPacked)
58 __attribute__((const)); 59 __attribute__((const));
59 60
60 #define GPBWireFormatMessageSetItemTag \ 61 #define GPBWireFormatMessageSetItemTag \
61 (GPBWireFormatMakeTag(GPBWireFormatMessageSetItem, GPBWireFormatStartGroup)) 62 (GPBWireFormatMakeTag(GPBWireFormatMessageSetItem, GPBWireFormatStartGroup))
62 #define GPBWireFormatMessageSetItemEndTag \ 63 #define GPBWireFormatMessageSetItemEndTag \
63 (GPBWireFormatMakeTag(GPBWireFormatMessageSetItem, GPBWireFormatEndGroup)) 64 (GPBWireFormatMakeTag(GPBWireFormatMessageSetItem, GPBWireFormatEndGroup))
64 #define GPBWireFormatMessageSetTypeIdTag \ 65 #define GPBWireFormatMessageSetTypeIdTag \
65 (GPBWireFormatMakeTag(GPBWireFormatMessageSetTypeId, GPBWireFormatVarint)) 66 (GPBWireFormatMakeTag(GPBWireFormatMessageSetTypeId, GPBWireFormatVarint))
66 #define GPBWireFormatMessageSetMessageTag \ 67 #define GPBWireFormatMessageSetMessageTag \
67 (GPBWireFormatMakeTag(GPBWireFormatMessageSetMessage, \ 68 (GPBWireFormatMakeTag(GPBWireFormatMessageSetMessage, \
68 GPBWireFormatLengthDelimited)) 69 GPBWireFormatLengthDelimited))
69 70
70 NS_ASSUME_NONNULL_END 71 NS_ASSUME_NONNULL_END
71 72
72 CF_EXTERN_C_END 73 CF_EXTERN_C_END
OLDNEW
« no previous file with comments | « third_party/protobuf/objectivec/GPBWellKnownTypes.m ('k') | third_party/protobuf/objectivec/GPBWireFormat.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698