| Index: base/pickle.cc
|
| diff --git a/base/pickle.cc b/base/pickle.cc
|
| index d83391bb524194b212a1f86ea0da26c1befd84ea..0323a6ab54402983332b690110bba343ab23a9c5 100644
|
| --- a/base/pickle.cc
|
| +++ b/base/pickle.cc
|
| @@ -208,6 +208,10 @@ bool PickleIterator::ReadBytes(const char** data, int length) {
|
| return true;
|
| }
|
|
|
| +Pickle::Attachment::Attachment() {}
|
| +
|
| +Pickle::Attachment::~Attachment() {}
|
| +
|
| // Payload is uint32_t aligned.
|
|
|
| Pickle::Pickle()
|
| @@ -322,6 +326,17 @@ void Pickle::Reserve(size_t length) {
|
| Resize(capacity_after_header_ * 2 + new_size);
|
| }
|
|
|
| +bool Pickle::WriteAttachment(scoped_refptr<Attachment> attachment) {
|
| + NOTREACHED();
|
| + return false;
|
| +}
|
| +
|
| +bool Pickle::ReadAttachment(base::PickleIterator* iter,
|
| + scoped_refptr<Attachment>* attachment) const {
|
| + NOTREACHED();
|
| + return false;
|
| +}
|
| +
|
| void Pickle::Resize(size_t new_capacity) {
|
| CHECK_NE(capacity_after_header_, kCapacityReadOnly);
|
| capacity_after_header_ = bits::Align(new_capacity, kPayloadUnit);
|
|
|