| Index: components/policy/core/common/policy_loader_mac.h
|
| diff --git a/components/policy/core/common/policy_loader_mac.h b/components/policy/core/common/policy_loader_mac.h
|
| index b7471e80f09cbbb1f31dfcffc53fa6021579340f..4a51544ee9a123a6f798720d3a72d9db42c12de4 100644
|
| --- a/components/policy/core/common/policy_loader_mac.h
|
| +++ b/components/policy/core/common/policy_loader_mac.h
|
| @@ -33,6 +33,14 @@ class POLICY_EXPORT PolicyLoaderMac : public AsyncPolicyLoader {
|
| PolicyLoaderMac(scoped_refptr<base::SequencedTaskRunner> task_runner,
|
| const base::FilePath& managed_policy_path,
|
| MacPreferences* preferences);
|
| +
|
| + // |application_id| will be passed into Mac's Preference Utilities API
|
| + // instead of the default value of kCFPreferencesCurrentApplication.
|
| + PolicyLoaderMac(scoped_refptr<base::SequencedTaskRunner> task_runner,
|
| + const base::FilePath& managed_policy_path,
|
| + MacPreferences* preferences,
|
| + CFStringRef application_id);
|
| +
|
| ~PolicyLoaderMac() override;
|
|
|
| // AsyncPolicyLoader implementation.
|
| @@ -66,6 +74,9 @@ class POLICY_EXPORT PolicyLoaderMac : public AsyncPolicyLoader {
|
| // Watches for events on the |managed_policy_path_|.
|
| base::FilePathWatcher watcher_;
|
|
|
| + // Application ID to pass into Mac's Preference Utilities API.
|
| + CFStringRef application_id_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PolicyLoaderMac);
|
| };
|
|
|
|
|