Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: components/policy/core/common/policy_loader_win.h

Issue 947353002: Chromoting needs null GPO provider in PolicyLoaderWin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698