| Index: base/pickle.h
|
| diff --git a/base/pickle.h b/base/pickle.h
|
| index ad08b7c0af0156131120bc0c875412705402d31d..052aa331b01cc02daa4f9bad1f4ef0e656461a8a 100644
|
| --- a/base/pickle.h
|
| +++ b/base/pickle.h
|
| @@ -68,6 +68,7 @@ class Pickle {
|
| bool ReadInt(void** iter, int* result) const;
|
| bool ReadLong(void** iter, long* result) const;
|
| bool ReadSize(void** iter, size_t* result) const;
|
| + bool ReadUInt16(void** iter, uint16* result) const;
|
| bool ReadUInt32(void** iter, uint32* result) const;
|
| bool ReadInt64(void** iter, int64* result) const;
|
| bool ReadUInt64(void** iter, uint64* result) const;
|
| @@ -97,6 +98,9 @@ class Pickle {
|
| bool WriteSize(size_t value) {
|
| return WriteBytes(&value, sizeof(value));
|
| }
|
| + bool WriteUInt16(uint16 value) {
|
| + return WriteBytes(&value, sizeof(value));
|
| + }
|
| bool WriteUInt32(uint32 value) {
|
| return WriteBytes(&value, sizeof(value));
|
| }
|
|
|