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

Unified Diff: components/nacl/browser/nacl_file_host.cc

Issue 1532053002: use variadic macros/templates in IPC message implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stricter legacy compat macros Created 4 years, 10 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: components/nacl/browser/nacl_file_host.cc
diff --git a/components/nacl/browser/nacl_file_host.cc b/components/nacl/browser/nacl_file_host.cc
index 0c10254f16302593b859f938ad12fbe4b0c06501..36c9eba66fbfb0017593906cd1f9361db19805bb 100644
--- a/components/nacl/browser/nacl_file_host.cc
+++ b/components/nacl/browser/nacl_file_host.cc
@@ -43,9 +43,9 @@ void NotifyRendererOfError(
}
typedef void (*WriteFileInfoReply)(IPC::Message* reply_msg,
- IPC::PlatformFileForTransit file_desc,
- uint64_t file_token_lo,
- uint64_t file_token_hi);
+ const IPC::PlatformFileForTransit& file_desc,
+ const uint64_t& file_token_lo,
dcheng 2016/02/05 21:31:41 Why change these to const ref?
mdempsky 2016/02/05 22:36:06 See https://codereview.chromium.org/1532053002/dif
+ const uint64_t& file_token_hi);
void DoRegisterOpenedNaClExecutableFile(
scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter,

Powered by Google App Engine
This is Rietveld 408576698