| Index: components/policy/core/common/config_dir_policy_loader.h
|
| diff --git a/chrome/browser/policy/config_dir_policy_loader.h b/components/policy/core/common/config_dir_policy_loader.h
|
| similarity index 87%
|
| rename from chrome/browser/policy/config_dir_policy_loader.h
|
| rename to components/policy/core/common/config_dir_policy_loader.h
|
| index fc7cc5c398cf9fcae900dee315fea8b875a4b93c..054844b3e49d18f7ecdeaf8eb59b671bf3e8a7c1 100644
|
| --- a/chrome/browser/policy/config_dir_policy_loader.h
|
| +++ b/components/policy/core/common/config_dir_policy_loader.h
|
| @@ -2,13 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_
|
| -#define CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_CONFIG_DIR_POLICY_LOADER_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_CONFIG_DIR_POLICY_LOADER_H_
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_path_watcher.h"
|
| #include "components/policy/core/common/async_policy_loader.h"
|
| #include "components/policy/core/common/policy_types.h"
|
| +#include "components/policy/policy_export.h"
|
|
|
| namespace base {
|
| class Value;
|
| @@ -21,7 +22,7 @@ namespace policy {
|
| // merged together and the result is returned in a PolicyBundle.
|
| // The files are consulted in lexicographic file name order, so the
|
| // last value read takes precedence in case of policy key collisions.
|
| -class ConfigDirPolicyLoader : public AsyncPolicyLoader {
|
| +class POLICY_EXPORT ConfigDirPolicyLoader : public AsyncPolicyLoader {
|
| public:
|
| ConfigDirPolicyLoader(scoped_refptr<base::SequencedTaskRunner> task_runner,
|
| const base::FilePath& config_dir,
|
| @@ -63,4 +64,4 @@ class ConfigDirPolicyLoader : public AsyncPolicyLoader {
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_CONFIG_DIR_POLICY_LOADER_H_
|
|
|