Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index df00d2985f33f7d71193fddc49a953372d65ec4b..9177df160202187fc02f468515dc6e3c026e6998 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -401,6 +401,13 @@ bool PathProvider(int key, FilePath* result) { |
cur = FilePath(FILE_PATH_LITERAL(kDefaultAppOrderFileName)); |
break; |
#endif |
+#if defined(ENABLE_MANAGED_USERS) |
+ case chrome::DIR_MANAGED_USERS_DEFAULT_APPS: |
+ if (!PathService::Get(chrome::DIR_EXTERNAL_EXTENSIONS, &cur)) |
+ return false; |
+ cur = cur.Append(FILE_PATH_LITERAL("managed_users")); |
+ break; |
+#endif |
// The following are only valid in the development environment, and |
// will fail if executed from an installed executable (because the |
// generated path won't exist). |
@@ -492,7 +499,7 @@ bool PathProvider(int key, FilePath* result) { |
#else |
if (!PathService::Get(chrome::DIR_APP, &cur)) |
return false; |
- cur = cur.Append(FILE_PATH_LITERAL("default_apps")); |
+ cur.Append(FILE_PATH_LITERAL("default_apps")); |
#endif |
break; |