| Index: remoting/host/policy_hack/policy_watcher_linux.cc
|
| diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
|
| index 351e8e5190afa238190a3d79acf3cce44683a939..9d0e5ede8c1e8aef70c1df4157394d4ed5c3d8ea 100644
|
| --- a/remoting/host/policy_hack/policy_watcher_linux.cc
|
| +++ b/remoting/host/policy_hack/policy_watcher_linux.cc
|
| @@ -33,7 +33,9 @@ namespace policy_hack {
|
| namespace {
|
|
|
| const FilePath::CharType kPolicyDir[] =
|
| - FILE_PATH_LITERAL("/etc/opt/chrome/policies/managed");
|
| + // Always read the Chrome policies (even on Chromium) so that policy
|
| + // enforcement can't be bypassed by running Chromium.
|
| + FILE_PATH_LITERAL("/etc/opt/chrome/policies/managed");
|
|
|
| // Amount of time we wait for the files on disk to settle before trying to load
|
| // them. This alleviates the problem of reading partially written files and
|
|
|