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

Unified Diff: ipc/ipc_message_utils.h

Issue 2494373002: Remove IPC channel IDs. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « ipc/ipc_logging.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.h
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h
index 366ab5f13e69f726a701c679db4ae9ef11a3cf2b..28cc7225be57503e6b5c8a473d993fc8de4f6dd9 100644
--- a/ipc/ipc_message_utils.h
+++ b/ipc/ipc_message_utils.h
@@ -1100,10 +1100,9 @@ struct IPC_EXPORT ParamTraits<MSG> {
// Generic message subclasses
// defined in ipc_logging.cc
-IPC_EXPORT void GenerateLogData(const std::string& channel,
- const Message& message,
- LogData* data, bool get_params);
-
+IPC_EXPORT void GenerateLogData(const Message& message,
+ LogData* data,
+ bool get_params);
#if defined(IPC_MESSAGE_LOG_ENABLED)
inline void AddOutputParamsToLog(const Message* msg, std::string* l) {
@@ -1130,7 +1129,7 @@ inline void ConnectMessageAndReply(const Message* msg, Message* reply) {
// output parameters at that point. Instead, save its data and log it
// with the outgoing reply message when it's sent.
LogData* data = new LogData;
- GenerateLogData("", *msg, data, true);
+ GenerateLogData(*msg, data, true);
msg->set_dont_log();
reply->set_sync_log_data(data);
}
« no previous file with comments | « ipc/ipc_logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698