Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index 9dca7e037a6f7a3937abcf9c15581f5dfee7040a..b5a06417c3e7b21c7fb7304288991b9ec48ea78d 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -283,6 +283,18 @@ bool PathProvider(int key, FilePath* result) { |
if (!file_util::PathExists(cur)) // we don't want to create this |
return false; |
break; |
+#if !defined(OS_MACOSX) && defined(OS_POSIX) |
+ case chrome::DIR_POLICY_FILES: { |
+#if defined(GOOGLE_CHROME_BUILD) |
+ cur = FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies")); |
+#else |
+ cur = FilePath(FILE_PATH_LITERAL("/etc/chromium/policies")); |
+#endif |
+ if (!file_util::PathExists(cur)) // we don't want to create this |
+ return false; |
+ break; |
+ } |
+#endif |
default: |
return false; |
} |