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

Unified Diff: mojo/public/cpp/bindings/lib/fixed_buffer.h

Issue 1524613002: [mojo] Use base::Pickle for Message storage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kill Message::Reset(), cleanup PickleBuffer declaration Created 5 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/lib/fixed_buffer.h
diff --git a/mojo/public/cpp/bindings/lib/fixed_buffer.h b/mojo/public/cpp/bindings/lib/fixed_buffer.h
index 83eaf97067b37c38118488166fd566e862d01178..5e389f1fa5603360e2c1b4f5f2f327e3a3fb32d4 100644
--- a/mojo/public/cpp/bindings/lib/fixed_buffer.h
+++ b/mojo/public/cpp/bindings/lib/fixed_buffer.h
@@ -49,6 +49,8 @@ class FixedBuffer : public Buffer {
// memory is zero-filled.
void* Allocate(size_t num_bytes) override;
+ PickleBuffer* AsPickleBuffer() override;
+
protected:
char* ptr_;
size_t cursor_;

Powered by Google App Engine
This is Rietveld 408576698