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

Unified Diff: components/network_hints/common/network_hints_messages.cc

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
« no previous file with comments | « components/network_hints/common/network_hints_messages.h ('k') | content/child/plugin_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_hints/common/network_hints_messages.cc
diff --git a/components/network_hints/common/network_hints_messages.cc b/components/network_hints/common/network_hints_messages.cc
index 82eaf6e0283156e5dc70b697b52c85d12a28fa18..27d035d1ed44e63c3a079acd3898461ebb0d4fb0 100644
--- a/components/network_hints/common/network_hints_messages.cc
+++ b/components/network_hints/common/network_hints_messages.cc
@@ -10,12 +10,13 @@
namespace IPC {
void ParamTraits<network_hints::LookupRequest>::Write(
- Message* m, const network_hints::LookupRequest& request) {
+ base::Pickle* m,
+ const network_hints::LookupRequest& request) {
IPC::WriteParam(m, request.hostname_list);
}
bool ParamTraits<network_hints::LookupRequest>::Read(
- const Message* m,
+ const base::Pickle* m,
base::PickleIterator* iter,
network_hints::LookupRequest* request) {
// Verify the hostname limits after deserialization success.
« no previous file with comments | « components/network_hints/common/network_hints_messages.h ('k') | content/child/plugin_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698