[email protected] | f786717 | 2012-07-11 07:04:07 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 58188f92 | 2011-11-18 20:50:39 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | 5844c2b | 2012-11-28 12:16:35 | [diff] [blame] | 5 | #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ |
6 | #define CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ | ||||
[email protected] | 58188f92 | 2011-11-18 20:50:39 | [diff] [blame] | 7 | |
8 | #include "content/common/content_export.h" | ||||
9 | #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | ||||
10 | |||||
11 | namespace content { | ||||
12 | |||||
13 | #if defined(IPC_MESSAGE_LOG_ENABLED) | ||||
14 | |||||
15 | // Enable or disable IPC logging for the browser, all processes | ||||
16 | // derived from ChildProcess (plugin etc), and all | ||||
17 | // renderers. | ||||
18 | CONTENT_EXPORT void EnableIPCLogging(bool enable); | ||||
19 | |||||
20 | #endif | ||||
21 | |||||
22 | } // namespace content | ||||
23 | |||||
[email protected] | 5844c2b | 2012-11-28 12:16:35 | [diff] [blame] | 24 | #endif // CONTENT_PUBLIC_BROWSER_BROWSER_IPC_LOGGING_H_ |