| Index: components/policy/core/common/cloud/cloud_policy_manager.h
|
| diff --git a/chrome/browser/policy/cloud/cloud_policy_manager.h b/components/policy/core/common/cloud/cloud_policy_manager.h
|
| similarity index 83%
|
| rename from chrome/browser/policy/cloud/cloud_policy_manager.h
|
| rename to components/policy/core/common/cloud/cloud_policy_manager.h
|
| index 8ae16145dbacb8df14abe822dd6f9c825aa10729..0a044147627b7a4edb1f09e4ee7328652906884e 100644
|
| --- a/chrome/browser/policy/cloud/cloud_policy_manager.h
|
| +++ b/components/policy/core/common/cloud/cloud_policy_manager.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_
|
| -#define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_MANAGER_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_MANAGER_H_
|
|
|
| #include <string>
|
|
|
| @@ -12,11 +12,12 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/prefs/pref_member.h"
|
| -#include "chrome/browser/policy/cloud/cloud_policy_constants.h"
|
| -#include "chrome/browser/policy/cloud/cloud_policy_core.h"
|
| -#include "chrome/browser/policy/cloud/cloud_policy_store.h"
|
| -#include "chrome/browser/policy/cloud/component_cloud_policy_service.h"
|
| +#include "components/policy/core/common/cloud/cloud_policy_constants.h"
|
| +#include "components/policy/core/common/cloud/cloud_policy_core.h"
|
| +#include "components/policy/core/common/cloud/cloud_policy_store.h"
|
| +#include "components/policy/core/common/cloud/component_cloud_policy_service.h"
|
| #include "components/policy/core/common/configuration_policy_provider.h"
|
| +#include "components/policy/policy_export.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -36,9 +37,10 @@ namespace policy {
|
| // This class contains the base functionality, there are subclasses that add
|
| // functionality specific to user-level and device-level cloud policy, such as
|
| // blocking on initial user policy fetch or device enrollment.
|
| -class CloudPolicyManager : public ConfigurationPolicyProvider,
|
| - public CloudPolicyStore::Observer,
|
| - public ComponentCloudPolicyService::Delegate {
|
| +class POLICY_EXPORT CloudPolicyManager
|
| + : public ConfigurationPolicyProvider,
|
| + public CloudPolicyStore::Observer,
|
| + public ComponentCloudPolicyService::Delegate {
|
| public:
|
| // |task_runner| is the runner for policy refresh tasks.
|
| // |file_task_runner| is used for file operations. Currently this must be the
|
| @@ -109,4 +111,4 @@ class CloudPolicyManager : public ConfigurationPolicyProvider,
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_MANAGER_H_
|
|
|