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

Side by Side Diff: content/public/browser/browser_ipc_logging.h

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 unified diff | Download patch
« no previous file with comments | « content/common/content_ipc_logging.cc ('k') | content/public/common/content_ipc_logging.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. 9 #include "ipc/ipc_features.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 #if defined(IPC_MESSAGE_LOG_ENABLED) 13 #if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
14 14
15 // Enable or disable IPC logging for the browser, all processes 15 // Enable or disable IPC logging for the browser, all processes
16 // derived from ChildProcess (plugin etc), and all 16 // derived from ChildProcess (plugin etc), and all
17 // renderers. 17 // renderers.
18 CONTENT_EXPORT void EnableIPCLogging(bool enable); 18 CONTENT_EXPORT void EnableIPCLogging(bool enable);
19 19
20 #endif 20 #endif
21 21
22 } // namespace content 22 } // namespace content
23 23
24 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ 24 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_
OLDNEW
« no previous file with comments | « content/common/content_ipc_logging.cc ('k') | content/public/common/content_ipc_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698