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

Unified Diff: chrome/browser/policy/policy_path_parser_win.cc

Issue 13619014: Change PolicyLoaderWin to load PReg files if possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, add unit tests. Created 7 years, 8 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
Index: chrome/browser/policy/policy_path_parser_win.cc
diff --git a/chrome/browser/policy/policy_path_parser_win.cc b/chrome/browser/policy/policy_path_parser_win.cc
index 26d0e5270df2fb10a4a01ac987cf7a410741bbc4..bba3873b52342c7e3a92404e0bf42bce5d2cbf65 100644
--- a/chrome/browser/policy/policy_path_parser_win.cc
+++ b/chrome/browser/policy/policy_path_parser_win.cc
@@ -25,7 +25,7 @@ bool LoadUserDataDirPolicyFromRegistry(HKEY hive,
std::wstring value;
base::win::RegKey policy_key(hive,
- policy::kRegistryMandatorySubKey,
+ policy::kRegistryChromePolicyKey,
KEY_READ);
if (policy_key.ReadValue(key_name.c_str(), &value) == ERROR_SUCCESS) {
*user_data_dir =

Powered by Google App Engine
This is Rietveld 408576698