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

Unified Diff: content/public/browser/content_ipc_logging.h

Issue 8574070: Move enabling IPC logging for all child processes to the Content API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 1 month 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 | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_ipc_logging.h
===================================================================
--- content/public/browser/content_ipc_logging.h (revision 0)
+++ content/public/browser/content_ipc_logging.h (revision 0)
@@ -0,0 +1,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_
Property changes on: content\public\browser\content_ipc_logging.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698