| Index: chrome/browser/policy/policy_loader_mac.h
|
| diff --git a/chrome/browser/policy/policy_loader_mac.h b/chrome/browser/policy/policy_loader_mac.h
|
| index 800491d27bbd5787e2651a5b1134711cba2822a1..8212a84024d52291e7879c4335f1379a7ab87eae 100644
|
| --- a/chrome/browser/policy/policy_loader_mac.h
|
| +++ b/chrome/browser/policy/policy_loader_mac.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_
|
| #define CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_
|
|
|
| +#include <string>
|
| +
|
| #include <CoreFoundation/CoreFoundation.h>
|
|
|
| #include "base/files/file_path.h"
|
| @@ -19,6 +21,8 @@ class Value;
|
|
|
| namespace policy {
|
|
|
| +class PolicyMap;
|
| +class PolicySchema;
|
| struct PolicyDefinitionList;
|
|
|
| // A policy loader that loads policies from the Mac preferences system, and
|
| @@ -44,6 +48,12 @@ class PolicyLoaderMac : public AsyncPolicyLoader {
|
| // Callback for the FilePathWatcher.
|
| void OnFileUpdated(const base::FilePath& path, bool error);
|
|
|
| + // Loads the policies described in |schema| from the bundle identified by
|
| + // |bundle_id_string|, and stores them in |policy|.
|
| + void LoadComponentPolicy(const std::string& bundle_id_string,
|
| + const PolicySchema* schema,
|
| + PolicyMap* policy);
|
| +
|
| // List of recognized policies.
|
| const PolicyDefinitionList* policy_list_;
|
|
|
|
|