-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_POLICY_HANDLER_H_
#include <memory>
-#include <vector>
-#include "base/macros.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
namespace policy {
class DefaultSearchPolicyHandler : public ConfigurationPolicyHandler {
public:
DefaultSearchPolicyHandler();
+
+ DefaultSearchPolicyHandler(const DefaultSearchPolicyHandler&) = delete;
+ DefaultSearchPolicyHandler& operator=(const DefaultSearchPolicyHandler&) =
+ delete;
+
~DefaultSearchPolicyHandler() override;
// ConfigurationPolicyHandler methods:
// a blank string.
void EnsureStringPrefExists(PrefValueMap* prefs, const std::string& path);
- // Make sure that the |path| is present in |prefs_| and is a ListValue. If
+ // Make sure that the |path| is present in |prefs_| and is a List. If
// not, set it to an empty list.
void EnsureListPrefExists(PrefValueMap* prefs, const std::string& path);
-
- DISALLOW_COPY_AND_ASSIGN(DefaultSearchPolicyHandler);
};
} // namespace policy