Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: components/policy/core/common/async_policy_loader.h

Issue 92263002: Move AsyncPolicyProvider, etc. to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/policy.gypi ('k') | components/policy/core/common/async_policy_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/async_policy_loader.h
diff --git a/chrome/browser/policy/async_policy_loader.h b/components/policy/core/common/async_policy_loader.h
similarity index 94%
rename from chrome/browser/policy/async_policy_loader.h
rename to components/policy/core/common/async_policy_loader.h
index 0fddd40c8df7a16ae2d5d3ed041d8adfb39d79d5..cdc3c6777ad480d94eeb3f12cda29417b1a7ab57 100644
--- a/chrome/browser/policy/async_policy_loader.h
+++ b/components/policy/core/common/async_policy_loader.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_ASYNC_POLICY_LOADER_H_
-#define CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_ASYNC_POLICY_LOADER_H_
+#define COMPONENTS_POLICY_CORE_COMMON_ASYNC_POLICY_LOADER_H_
#include "base/callback.h"
#include "base/memory/ref_counted.h"
@@ -11,6 +11,7 @@
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "components/policy/core/common/schema_map.h"
+#include "components/policy/policy_export.h"
namespace base {
class SequencedTaskRunner;
@@ -30,7 +31,7 @@ class PolicyBundle;
// any thread), and the initial Load() which is called on the thread that owns
// the provider.
// LastModificationTime() is also invoked once on that thread at startup.
-class AsyncPolicyLoader {
+class POLICY_EXPORT AsyncPolicyLoader {
public:
explicit AsyncPolicyLoader(
scoped_refptr<base::SequencedTaskRunner> task_runner);
@@ -118,4 +119,4 @@ class AsyncPolicyLoader {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_ASYNC_POLICY_LOADER_H_
« no previous file with comments | « components/policy.gypi ('k') | components/policy/core/common/async_policy_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698