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

Unified Diff: chrome/service/service_ipc_server.cc

Issue 2770653002: Add enable_ipc_logging build argument (Closed)
Patch Set: Fix build of content_shell Created 3 years, 9 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 | « chrome/common/logging_chrome.cc ('k') | content/browser/browser_ipc_logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_ipc_server.cc
diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc
index bcd3726080471a16f18a783504d2776ebecf2cd0..872dc60f718e0295ea6d5f99969a71d5aab8a6fa 100644
--- a/chrome/service/service_ipc_server.cc
+++ b/chrome/service/service_ipc_server.cc
@@ -22,7 +22,7 @@ ServiceIPCServer::ServiceIPCServer(
}
bool ServiceIPCServer::Init() {
-#ifdef IPC_MESSAGE_LOG_ENABLED
+#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
IPC::Logging::GetInstance()->SetIPCSender(this);
#endif
CreateChannel();
@@ -39,7 +39,7 @@ void ServiceIPCServer::CreateChannel() {
}
ServiceIPCServer::~ServiceIPCServer() {
-#ifdef IPC_MESSAGE_LOG_ENABLED
+#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
IPC::Logging::GetInstance()->SetIPCSender(NULL);
#endif
}
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | content/browser/browser_ipc_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698