| Index: base/mac_util.h
|
| diff --git a/base/mac_util.h b/base/mac_util.h
|
| index 093ae6361ad7b68f4c755844131056113e571d2c..a65576de28897bd82f2b004f6e8a1ed97d84637f 100644
|
| --- a/base/mac_util.h
|
| +++ b/base/mac_util.h
|
| @@ -81,6 +81,14 @@ void ActivateProcess(pid_t);
|
| // Pulls a snapshot of the entire browser into png_representation.
|
| void GrabWindowSnapshot(NSWindow* window,
|
| std::vector<unsigned char>* png_representation);
|
| +
|
| +// Takes a path to an (executable) binary and tries to provide the path to an
|
| +// application bundle containing it. It takes the outermost bundle that it can
|
| +// find (so for "/Foo/Bar.app/.../Baz.app/..." it produces "/Foo/Bar.app").
|
| +// |exec_name| - path to the binary
|
| +// returns - path to the application bundle, or empty on error
|
| +FilePath GetAppBundlePath(const FilePath& exec_name);
|
| +
|
| } // namespace mac_util
|
|
|
| #endif // BASE_MAC_UTIL_H_
|
|
|