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

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

Issue 78823004: Move PolicyBundle into components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on master 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
Index: components/policy/core/common/policy_bundle.h
diff --git a/chrome/browser/policy/policy_bundle.h b/components/policy/core/common/policy_bundle.h
similarity index 90%
rename from chrome/browser/policy/policy_bundle.h
rename to components/policy/core/common/policy_bundle.h
index a3740b525f0e0789f8a5146747ba2991ad6272bc..8666c013a14394fe938932d04c0bbfe81fd414fa 100644
--- a/chrome/browser/policy/policy_bundle.h
+++ b/components/policy/core/common/policy_bundle.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_POLICY_BUNDLE_H_
-#define CHROME_BROWSER_POLICY_POLICY_BUNDLE_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_
#include <map>
#include <string>
@@ -11,11 +11,12 @@
#include "base/basictypes.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
+#include "components/policy/policy_export.h"
namespace policy {
// Maps policy namespaces to PolicyMaps.
-class PolicyBundle {
+class POLICY_EXPORT PolicyBundle {
public:
typedef std::map<PolicyNamespace, PolicyMap*> MapType;
typedef MapType::iterator iterator;
@@ -69,4 +70,4 @@ class PolicyBundle {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_POLICY_BUNDLE_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_

Powered by Google App Engine
This is Rietveld 408576698