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

Unified Diff: chrome/common/safe_browsing/protobuf_message_param_traits.h

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more mac fix 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: chrome/common/safe_browsing/protobuf_message_param_traits.h
diff --git a/chrome/common/safe_browsing/protobuf_message_param_traits.h b/chrome/common/safe_browsing/protobuf_message_param_traits.h
index f78dfec6f9502b0f2884943f2e75d80718837829..a935584d0d85edba03c0ba5edc01c6886a282db8 100644
--- a/chrome/common/safe_browsing/protobuf_message_param_traits.h
+++ b/chrome/common/safe_browsing/protobuf_message_param_traits.h
@@ -20,13 +20,13 @@ template <class Element>
struct ParamTraits<google::protobuf::RepeatedPtrField<Element>> {
typedef google::protobuf::RepeatedPtrField<Element> param_type;
- static void Write(Message* m, const param_type& p) {
+ static void Write(base::Pickle* m, const param_type& p) {
WriteParam(m, p.size());
for (const auto& element : p)
WriteParam(m, element);
}
- static bool Read(const Message* m,
+ static bool Read(const base::Pickle* m,
base::PickleIterator* iter,
param_type* p) {
int size;
« no previous file with comments | « chrome/common/safe_browsing/ipc_protobuf_message_macros.h ('k') | chrome/common/safe_browsing/protobuf_message_read_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698