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

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

Issue 1518293002: [mojo] Add Mojo bindings support for IPC::ParamTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pickle4
Patch Set: 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
« no previous file with comments | « mojo/public/cpp/bindings/lib/native_serialization.h ('k') | mojo/public/cpp/bindings/lib/pickle_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/pickle_buffer.h
diff --git a/mojo/public/cpp/bindings/lib/pickle_buffer.h b/mojo/public/cpp/bindings/lib/pickle_buffer.h
index 4b1486086283c01a67a4bc8413131796f1ae5c51..994738f2150a7667660cd0cdad4bbbd1b82ab58f 100644
--- a/mojo/public/cpp/bindings/lib/pickle_buffer.h
+++ b/mojo/public/cpp/bindings/lib/pickle_buffer.h
@@ -38,6 +38,9 @@ class PickleBuffer : public base::Pickle, public Buffer {
// Resizes the underlying Pickle's capacity without zeroing.
void AllocUninitializedData(uint32_t num_bytes);
+ // Buffer:
+ PickleBuffer* AsPickleBuffer() override;
+
private:
// Buffer implementation. Note that this may grow the Pickle's capacity if
// necessary, but you can avoid this by calling AllocData to preallocate when
« no previous file with comments | « mojo/public/cpp/bindings/lib/native_serialization.h ('k') | mojo/public/cpp/bindings/lib/pickle_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698