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

Side by Side Diff: third_party/protobuf/js/binary/constants.js

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
« no previous file with comments | « third_party/protobuf/js/README.md ('k') | third_party/protobuf/js/binary/decoder.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 /** 135 /**
136 * A reader function initializes a message using data from a BinaryReader. 136 * A reader function initializes a message using data from a BinaryReader.
137 * @typedef {function(!jspb.BinaryMessage, !jspb.BinaryReader):void} 137 * @typedef {function(!jspb.BinaryMessage, !jspb.BinaryReader):void}
138 */ 138 */
139 jspb.ReaderFunction; 139 jspb.ReaderFunction;
140 140
141 141
142 /** 142 /**
143 * A writer function serializes a message to a BinaryWriter. 143 * A writer function serializes a message to a BinaryWriter.
144 * @typedef {!function(!jspb.Message, !jspb.BinaryWriter):void | 144 * @typedef {function((!jspb.Message|!jspb.ConstBinaryMessage),
145 * !function(!jspb.ConstBinaryMessage, !jspb.BinaryWriter):void} 145 * !jspb.BinaryWriter):void}
146 */ 146 */
147 jspb.WriterFunction; 147 jspb.WriterFunction;
148 148
149 149
150 /** 150 /**
151 * A pruner function removes default-valued fields and empty submessages from a 151 * A pruner function removes default-valued fields and empty submessages from a
152 * message and returns either the pruned message or null if the entire message 152 * message and returns either the pruned message or null if the entire message
153 * was pruned away. 153 * was pruned away.
154 * @typedef {function(?jspb.BinaryMessage):?jspb.BinaryMessage} 154 * @typedef {function(?jspb.BinaryMessage):?jspb.BinaryMessage}
155 */ 155 */
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 * @const {number} 351 * @const {number}
352 */ 352 */
353 jspb.BinaryConstants.TWO_TO_64 = 18446744073709551616; 353 jspb.BinaryConstants.TWO_TO_64 = 18446744073709551616;
354 354
355 355
356 /** 356 /**
357 * Eight-character string of zeros, used as the default 64-bit hash value. 357 * Eight-character string of zeros, used as the default 64-bit hash value.
358 * @const {string} 358 * @const {string}
359 */ 359 */
360 jspb.BinaryConstants.ZERO_HASH = '\0\0\0\0\0\0\0\0'; 360 jspb.BinaryConstants.ZERO_HASH = '\0\0\0\0\0\0\0\0';
OLDNEW
« no previous file with comments | « third_party/protobuf/js/README.md ('k') | third_party/protobuf/js/binary/decoder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698