Index: chrome/common/chrome_paths.cc |
=================================================================== |
--- chrome/common/chrome_paths.cc (revision 100719) |
+++ chrome/common/chrome_paths.cc (working copy) |
@@ -353,6 +353,16 @@ |
create_dir = true; |
#endif |
break; |
+ case chrome::DIR_DEFAULT_APPS: |
+#if defined(OS_MACOSX) |
+ cur = base::mac::MainAppBundlePath(); |
+ cur = cur.Append(FILE_PATH_LITERAL("Default Apps")); |
+#else |
+ if (!PathService::Get(chrome::DIR_APP, &cur)) |
+ return false; |
+ cur = cur.Append(FILE_PATH_LITERAL("default_apps")); |
+#endif |
+ break; |
default: |
return false; |
} |