Index: components/policy/core/common/policy_loader_win.h |
diff --git a/components/policy/core/common/policy_loader_win.h b/components/policy/core/common/policy_loader_win.h |
index 9d99c1bba9f15652b4c9c62c7088fa63a49ac8c4..bbcf5b0f1fc8043be8178e8013e16a18d91b663d 100644 |
--- a/components/policy/core/common/policy_loader_win.h |
+++ b/components/policy/core/common/policy_loader_win.h |
@@ -51,6 +51,9 @@ class POLICY_EXPORT PolicyLoaderWin |
// The PReg file name used by GPO. |
static const base::FilePath::CharType kPRegFileName[]; |
+ // Passing |gpo_provider| equal nullptr forces all reads to go through the |
+ // registry. This is undesirable for Chrome (see crbug.com/259236), but |
+ // needed for some other use cases (i.e. Chromoting - see crbug.com/460734). |
PolicyLoaderWin(scoped_refptr<base::SequencedTaskRunner> task_runner, |
const base::string16& chrome_policy_key, |
AppliedGPOListProvider* gpo_provider); |