summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.h
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 21:08:04 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 21:08:04 +0000
commitd55aaa139da94452ebd6812bfa9241ba050978d9 (patch)
treec5fd3ad94b96114b9109fc92610cae3b9688014b /chrome/browser/browser_process.h
parent50e8299eb26f3a289c35badb7e740eb109981cd1 (diff)
downloadchromium_src-d55aaa139da94452ebd6812bfa9241ba050978d9.zip
chromium_src-d55aaa139da94452ebd6812bfa9241ba050978d9.tar.gz
chromium_src-d55aaa139da94452ebd6812bfa9241ba050978d9.tar.bz2
Implement about:ipc dialog for Mac.
Convert IPC logging trigger from x-process waitable event to a messages sent to all processes. Review URL: http://codereview.chromium.org/192070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r--chrome/browser/browser_process.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index ef3b6d7..ff41250 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -14,6 +14,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "ipc/ipc_message.h"
class AutomationProviderList;
class Clipboard;
@@ -153,6 +154,13 @@ class BrowserProcess {
// case, we default to returning true.
virtual bool have_inspector_files() const = 0;
+#if defined(IPC_MESSAGE_LOG_ENABLED)
+ // Enable or disable IPC logging for the browser, all processes
+ // derived from ChildProcess (plugin etc), and all
+ // renderers.
+ virtual void SetIPCLoggingEnabled(bool enable) = 0;
+#endif
+
private:
// User-data-dir based profiles.
std::vector<std::wstring> user_data_dir_profiles_;