| Index: chrome/browser/platform_util.h
|
| diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
|
| index 69ecf986708ae76489ca128366b212d375c80e6f..97025f72e851cc15ef312a4d1c93f7cc68a9dfcf 100644
|
| --- a/chrome/browser/platform_util.h
|
| +++ b/chrome/browser/platform_util.h
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/process.h"
|
| #include "base/string16.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| @@ -22,7 +23,14 @@ void ShowItemInFolder(const FilePath& full_path);
|
|
|
| // Open the given file in the desktop's default manner.
|
| // Must be called from the UI thread.
|
| -void OpenItem(const FilePath& full_path);
|
| +// If |process_handle| is not NULL, it will contain the handle of the newly
|
| +// spawned process that opened the file on Windows and Linux. On Mac or
|
| +// Chrome OS, the process handle will be unchanged.
|
| +// NOTE: In this case, the caller is responsible for closing the handle
|
| +// (on Windows) / ensuring that the process gets reaped (on Linux). Otherwise
|
| +// these things will be done automatically.
|
| +// XXX
|
| +void OpenItem(const FilePath& full_path, base::ProcessHandle* process_handle);
|
|
|
| // Open the given external protocol URL in the desktop's default manner.
|
| // (For example, mailto: URLs in the default mail user agent.)
|
|
|