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

Unified Diff: base/pickle.cc

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing comment Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
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);
« base/pickle.h ('K') | « base/pickle.h ('k') | chrome/common/cast_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698