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
diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h
index afcd803..9b37e19 100644
--- a/chrome/common/child_thread.h
+++ b/chrome/common/child_thread.h
@@ -10,6 +10,7 @@
 #include "chrome/common/message_router.h"
 #include "chrome/common/resource_dispatcher.h"
 #include "ipc/ipc_sync_channel.h"
+#include "ipc/ipc_message.h"
 
 class NotificationService;
 
@@ -46,6 +47,12 @@
   void OnProcessFinalRelease();
 
   virtual void OnControlMessageReceived(const IPC::Message& msg) { }
+  virtual void OnAskBeforeShutdown();
+  virtual void OnShutdown();
+
+#ifdef IPC_MESSAGE_LOG_ENABLED
+  virtual void OnSetIPCLoggingEnabled(bool enable);
+#endif
 
   IPC::SyncChannel* channel() { return channel_.get(); }