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

Unified Diff: content/browser/browser_ipc_logging.cc

Issue 2847003005: Reland "Add enable_ipc_logging build argument" (Closed)
Patch Set: Reland "Add enable_ipc_logging build argument" Created 3 years, 7 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/service/service_ipc_server.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_ipc_logging.cc
diff --git a/content/browser/browser_ipc_logging.cc b/content/browser/browser_ipc_logging.cc
index 7e7f05e1b70a5b197b5e28ea9053e353a4d4790c..ad323632980ebb0359d2faa4ba261acc25aef7f8 100644
--- a/content/browser/browser_ipc_logging.cc
+++ b/content/browser/browser_ipc_logging.cc
@@ -13,7 +13,7 @@
namespace content {
-#if defined(IPC_MESSAGE_LOG_ENABLED)
+#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
void EnableIPCLoggingForChildProcesses(bool enabled) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -46,6 +46,6 @@ void EnableIPCLogging(bool enable) {
i.GetCurrentValue()->Send(new ChildProcessMsg_SetIPCLoggingEnabled(enable));
}
-#endif // IPC_MESSAGE_LOG_ENABLED
+#endif // BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
} // namespace content
« no previous file with comments | « chrome/service/service_ipc_server.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698