blob: 5cf0865a9ad7fdd4c5a5945dcc9795e906ac050c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_CONTENT_IPC_LOGGING_H_
#define CONTENT_PUBLIC_BROWSER_CONTENT_IPC_LOGGING_H_
#pragma once
#include "content/common/content_export.h"
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
namespace content {
#if defined(IPC_MESSAGE_LOG_ENABLED)
// Enable or disable IPC logging for the browser, all processes
// derived from ChildProcess (plugin etc), and all
// renderers.
CONTENT_EXPORT void EnableIPCLogging(bool enable);
#endif
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_CONTENT_IPC_LOGGING_H_
|