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

Unified Diff: components/policy/core/browser/url_blacklist_policy_handler.h

Issue 140803003: Move the Autofill and URLBlacklist policy handlers to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trying again... Created 6 years, 11 months 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/browser/url_blacklist_policy_handler.h
diff --git a/chrome/browser/policy/url_blacklist_policy_handler.h b/components/policy/core/browser/url_blacklist_policy_handler.h
similarity index 70%
rename from chrome/browser/policy/url_blacklist_policy_handler.h
rename to components/policy/core/browser/url_blacklist_policy_handler.h
index a64236b2973faf07b5337380ef84c43f685568ea..54bcb1670769a7de770b9f41569a4f8fd46a673c 100644
--- a/chrome/browser/policy/url_blacklist_policy_handler.h
+++ b/components/policy/core/browser/url_blacklist_policy_handler.h
@@ -2,22 +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_URL_BLACKLIST_POLICY_HANDLER_H_
-#define CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_
+#ifndef COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_POLICY_HANDLER_H_
+#define COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_POLICY_HANDLER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
-
-class PrefValueMap;
+#include "components/policy/policy_export.h"
namespace policy {
-class PolicyErrorMap;
-class PolicyMap;
-
// Handles URLBlacklist policies.
-class URLBlacklistPolicyHandler : public ConfigurationPolicyHandler {
+class POLICY_EXPORT URLBlacklistPolicyHandler
+ : public ConfigurationPolicyHandler {
public:
URLBlacklistPolicyHandler();
virtual ~URLBlacklistPolicyHandler();
@@ -34,4 +31,4 @@ class URLBlacklistPolicyHandler : public ConfigurationPolicyHandler {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_
+#endif // COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_POLICY_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698