Index: chrome/browser/policy/policy_path_parser.h |
diff --git a/chrome/browser/policy/policy_path_parser.h b/chrome/browser/policy/policy_path_parser.h |
index ce940c33830fca37fd763259fde5679dc27998ba..b226765e0b7921393f29f9aaf0db0756369b3d80 100644 |
--- a/chrome/browser/policy/policy_path_parser.h |
+++ b/chrome/browser/policy/policy_path_parser.h |
@@ -49,6 +49,13 @@ namespace path_parser { |
base::FilePath::StringType ExpandPathVariables( |
const base::FilePath::StringType& untranslated_string); |
+// A helper function used to read the UserDataDir path policy without relying on |
+// any policy infrastructure. This is required because this policy is needed |
+// much earlier before the PrefService is initialized. |
+// The function will fill |user_data_dir| if the corresponding policy is set and |
brettw
2013/02/19 18:23:45
Can you rephrase this a bit? I don't know what the
pastarmovj
2013/02/20 10:15:05
Done.
|
+// leave it intact if the policy is missing. |
+void CheckUserDataDirPolicy(base::FilePath* user_data_dir); |
+ |
} // namespace path_parser |
} // namespace policy |