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

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

Issue 78763002: Move PolicyMap and its dependencies to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/core/common/external_data_fetcher.cc ('k') | components/policy/core/common/policy_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/external_data_manager.h
diff --git a/chrome/browser/policy/external_data_manager.h b/components/policy/core/common/external_data_manager.h
similarity index 78%
rename from chrome/browser/policy/external_data_manager.h
rename to components/policy/core/common/external_data_manager.h
index 155a511051e1f850e48c224b30d1d29e4907adff..406cf596bb99bf5e0fc5f9c3e8bbd88b61103788 100644
--- a/chrome/browser/policy/external_data_manager.h
+++ b/components/policy/core/common/external_data_manager.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_
-#define CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_
+#define COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_
#include <string>
-#include "chrome/browser/policy/external_data_fetcher.h"
+#include "components/policy/core/common/external_data_fetcher.h"
+#include "components/policy/policy_export.h"
namespace policy {
@@ -16,7 +17,7 @@ namespace policy {
// An implementation of this abstract interface should be provided for each
// policy source (cloud policy, platform policy) that supports external data
// references.
-class ExternalDataManager {
+class POLICY_EXPORT ExternalDataManager {
jochen (gone - plz use gerrit) 2013/11/21 13:55:25 you don't need to export pure virtual interfaces
dconnelly 2013/11/21 14:04:24 Done.
public:
// Retrieves the external data referenced by |policy| and invokes |callback|
// with the result. If |policy| does not reference any external data, the
@@ -32,4 +33,4 @@ class ExternalDataManager {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_
« no previous file with comments | « components/policy/core/common/external_data_fetcher.cc ('k') | components/policy/core/common/policy_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698