Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2711)

Unified Diff: base/mac/foundation_util.h

Issue 7019041: Fix up PathProvider on the Mac for FILE_MODULE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base_paths_mac.mm ('k') | base/mac/foundation_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « base/base_paths_mac.mm ('k') | base/mac/foundation_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698