Upload upstream chromium 114.0.5735.31
[platform/framework/web/chromium-efl.git] / components / search_engines / default_search_policy_handler.h
index 7d12000..d0bd473 100644 (file)
@@ -1,4 +1,4 @@
-// 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.
 
@@ -6,9 +6,7 @@
 #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 {
@@ -17,6 +15,11 @@ namespace policy {
 class DefaultSearchPolicyHandler : public ConfigurationPolicyHandler {
  public:
   DefaultSearchPolicyHandler();
+
+  DefaultSearchPolicyHandler(const DefaultSearchPolicyHandler&) = delete;
+  DefaultSearchPolicyHandler& operator=(const DefaultSearchPolicyHandler&) =
+      delete;
+
   ~DefaultSearchPolicyHandler() override;
 
   // ConfigurationPolicyHandler methods:
@@ -54,11 +57,9 @@ class DefaultSearchPolicyHandler : public ConfigurationPolicyHandler {
   // 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