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

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

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes 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
Index: components/policy/core/common/policy_service_stub.h
diff --git a/chrome/browser/policy/policy_service_stub.h b/components/policy/core/common/policy_service_stub.h
similarity index 75%
rename from chrome/browser/policy/policy_service_stub.h
rename to components/policy/core/common/policy_service_stub.h
index 30c2f5112825ae26311d0e9dc57e9bf35b7e93ca..f7dee23a97d6b82c464f5fb1953d80e593b31c4d 100644
--- a/chrome/browser/policy/policy_service_stub.h
+++ b/components/policy/core/common/policy_service_stub.h
@@ -2,18 +2,19 @@
// 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_SERVICE_STUB_H_
-#define CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_STUB_H_
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_STUB_H_
#include "base/basictypes.h"
-#include "chrome/browser/policy/policy_service.h"
#include "components/policy/core/common/policy_map.h"
+#include "components/policy/core/common/policy_service.h"
+#include "components/policy/policy_export.h"
namespace policy {
// A stub implementation, that is used when ENABLE_CONFIGURATION_POLICY is not
// set. This allows client code to compile without requiring #ifdefs.
-class PolicyServiceStub : public PolicyService {
+class POLICY_EXPORT PolicyServiceStub : public PolicyService {
public:
PolicyServiceStub();
virtual ~PolicyServiceStub();
@@ -38,4 +39,4 @@ class PolicyServiceStub : public PolicyService {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_STUB_H_
« no previous file with comments | « components/policy/core/common/policy_service_impl_unittest.cc ('k') | components/policy/core/common/policy_service_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698