blob: 8189cb4c3b14407ade429d6b849303aba328e82a [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_SEARCH_SEARCH_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_SEARCH_SEARCH_API_H_
#include "extensions/browser/extension_function.h"
namespace extensions {
class SearchQueryFunction : public ExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("search.query", SEARCH_QUERY)
SearchQueryFunction() = default;
private:
~SearchQueryFunction() override = default;
ResponseAction Run() override;
};
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_SEARCH_SEARCH_API_H_