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

Unified Diff: components/policy/core/browser/autofill_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
« no previous file with comments | « components/policy/core/browser/DEPS ('k') | components/policy/core/browser/autofill_policy_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/browser/autofill_policy_handler.h
diff --git a/chrome/browser/policy/autofill_policy_handler.h b/components/policy/core/browser/autofill_policy_handler.h
similarity index 66%
rename from chrome/browser/policy/autofill_policy_handler.h
rename to components/policy/core/browser/autofill_policy_handler.h
index 4668efb85f58a7b97228333b89a9cd0438496643..caf1077ffa1b42e1160ff529da0611ec6f0be7f1 100644
--- a/chrome/browser/policy/autofill_policy_handler.h
+++ b/components/policy/core/browser/autofill_policy_handler.h
@@ -2,19 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_
-#define CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_
+#ifndef COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_
+#define COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_
#include "components/policy/core/browser/configuration_policy_handler.h"
-
-class PrefValueMap;
+#include "components/policy/policy_export.h"
namespace policy {
-class PolicyMap;
-
// ConfigurationPolicyHandler for the AutofillEnabled policy.
-class AutofillPolicyHandler : public TypeCheckingPolicyHandler {
+class POLICY_EXPORT AutofillPolicyHandler : public TypeCheckingPolicyHandler {
public:
AutofillPolicyHandler();
virtual ~AutofillPolicyHandler();
@@ -29,4 +26,4 @@ class AutofillPolicyHandler : public TypeCheckingPolicyHandler {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_
+#endif // COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_
« no previous file with comments | « components/policy/core/browser/DEPS ('k') | components/policy/core/browser/autofill_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698