Index: base/mac/foundation_util.h |
diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h |
index dc7d4e713cc0bc060ba9c0e446787eb447f00769..a9ba7254c1eba7fa8dcc3f0b5826968e2f829b6d 100644 |
--- a/base/mac/foundation_util.h |
+++ b/base/mac/foundation_util.h |
@@ -93,6 +93,10 @@ FilePath GetUserLibraryPath(); |
// returns - path to the application bundle, or empty on error |
FilePath GetAppBundlePath(const FilePath& exec_name); |
+// Returns true if the module for |symbol| is found. |path| will contain |
Mark Mentovai
2011/05/23 16:07:46
“Symbol” is a misnomer. This doesn’t work with sym
|
+// the path to the module. Note that |path| may not be absolute. |
+bool GetModulePathForSymbol(FilePath* path, const void* symbol); |
+ |
// Utility function to pull out a value from a dictionary, check its type, and |
// return it. Returns NULL if the key is not present or of the wrong type. |
CFTypeRef GetValueFromDictionary(CFDictionaryRef dict, |