Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index 35c01d176f3150cac1bd21c93a829c5d1b8493be..1b3061f4cd69476453930a79e2b8ed61db1c2ab9 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -195,6 +195,14 @@ bool PathProvider(int key, FilePath* result) { |
if (!GetInternalPluginsDirectory(&cur)) |
return false; |
break; |
+ case chrome::DIR_MEDIA_LIBS: |
+#if defined(OS_MACOSX) |
+ *result = base::mac::MainAppBundlePath(); |
+ *result = result->Append("Libraries"); |
+ return true; |
+#else |
+ return PathService::Get(chrome::DIR_APP, result); |
+#endif |
case chrome::FILE_LOCAL_STATE: |
if (!PathService::Get(chrome::DIR_USER_DATA, &cur)) |
return false; |