Index: components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h |
diff --git a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h |
similarity index 90% |
rename from chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
rename to components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h |
index a3d121b246356816ed501125f7bcaad75999142c..afba9b388275df3e2ced3055fc615a25a9f4a70f 100644 |
--- a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
+++ b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h |
@@ -2,16 +2,17 @@ |
// 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_REFRESH_SCHEDULER_H_ |
-#define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_REFRESH_SCHEDULER_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_REFRESH_SCHEDULER_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_REFRESH_SCHEDULER_H_ |
#include "base/basictypes.h" |
#include "base/cancelable_callback.h" |
#include "base/memory/ref_counted.h" |
#include "base/time/time.h" |
-#include "chrome/browser/policy/cloud/cloud_policy_client.h" |
-#include "chrome/browser/policy/cloud/cloud_policy_store.h" |
-#include "chrome/browser/policy/cloud/rate_limiter.h" |
+#include "components/policy/core/common/cloud/cloud_policy_client.h" |
+#include "components/policy/core/common/cloud/cloud_policy_store.h" |
+#include "components/policy/core/common/cloud/rate_limiter.h" |
+#include "components/policy/policy_export.h" |
#include "net/base/network_change_notifier.h" |
namespace base { |
@@ -22,7 +23,7 @@ namespace policy { |
// Observes CloudPolicyClient and CloudPolicyStore to trigger periodic policy |
// fetches and issue retries on error conditions. |
-class CloudPolicyRefreshScheduler |
+class POLICY_EXPORT CloudPolicyRefreshScheduler |
: public CloudPolicyClient::Observer, |
public CloudPolicyStore::Observer, |
public net::NetworkChangeNotifier::IPAddressObserver { |
@@ -152,4 +153,4 @@ class CloudPolicyRefreshScheduler |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_REFRESH_SCHEDULER_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_REFRESH_SCHEDULER_H_ |