1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_POLICY_HANDLER_ANDROID_H_
6 #define CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_POLICY_HANDLER_ANDROID_H_
8 #include "components/policy/core/browser/configuration_policy_handler.h"
14 // ConfigurationPolicyHandler for the ContextualSearchEnabled policy.
15 class ContextualSearchPolicyHandlerAndroid
16 : public TypeCheckingPolicyHandler
{
18 ContextualSearchPolicyHandlerAndroid();
19 ~ContextualSearchPolicyHandlerAndroid() override
;
21 // ConfigurationPolicyHandler methods:
22 void ApplyPolicySettings(const PolicyMap
& policies
,
23 PrefValueMap
* prefs
) override
;
26 DISALLOW_COPY_AND_ASSIGN(ContextualSearchPolicyHandlerAndroid
);
31 #endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_POLICY_HANDLER_ANDROID_H_