Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / search / contextual_search_policy_handler_android.h
blob3794c200d3a5e78f38321f041679cd73c8c44174
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"
10 namespace policy {
12 class PolicyMap;
14 // ConfigurationPolicyHandler for the ContextualSearchEnabled policy.
15 class ContextualSearchPolicyHandlerAndroid
16 : public TypeCheckingPolicyHandler {
17 public:
18 ContextualSearchPolicyHandlerAndroid();
19 ~ContextualSearchPolicyHandlerAndroid() override;
21 // ConfigurationPolicyHandler methods:
22 void ApplyPolicySettings(const PolicyMap& policies,
23 PrefValueMap* prefs) override;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ContextualSearchPolicyHandlerAndroid);
29 } // namespace policy
31 #endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_POLICY_HANDLER_ANDROID_H_