diff options
Diffstat (limited to 'chrome/browser/cocoa/about_ipc_dialog.h')
-rw-r--r-- | chrome/browser/cocoa/about_ipc_dialog.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/about_ipc_dialog.h b/chrome/browser/cocoa/about_ipc_dialog.h new file mode 100644 index 0000000..e190f7a --- /dev/null +++ b/chrome/browser/cocoa/about_ipc_dialog.h @@ -0,0 +1,23 @@ +// Copyright (c) 2009 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 CHROME_BROWSER_COCOA_ABOUT_IPC_DIALOG_H_ +#define CHROME_BROWSER_COCOA_ABOUT_IPC_DIALOG_H_ + +#include "ipc/ipc_message.h" + +#if defined(IPC_MESSAGE_LOG_ENABLED) + +namespace AboutIPCDialog { +// The dialog is a singleton. If the dialog is already opened, it won't do +// anything, so you can just blindly call this function all you want. +// RunDialog() is Called from chrome/browser/browser_about_handler.cc +// in response to an about:ipc URL. +void RunDialog(); +}; + + +#endif /* IPC_MESSAGE_LOG_ENABLED */ + +#endif /* CHROME_BROWSER_COCOA_ABOUT_IPC_DIALOG_H_ */ |