| // Copyright 2021 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_TAB_MATCHER_IMPL_H_ |
| #define IOS_CHROME_BROWSER_AUTOCOMPLETE_TAB_MATCHER_IMPL_H_ |
| |
| #include "components/omnibox/browser/tab_matcher.h" |
| |
| class ChromeBrowserState; |
| |
| class TabMatcherImpl : public TabMatcher { |
| public: |
| explicit TabMatcherImpl(ChromeBrowserState* browser_state); |
| |
| bool IsTabOpenWithURL(const GURL& gurl, |
| const AutocompleteInput* input) const override; |
| |
| private: |
| ChromeBrowserState* browser_state_{}; |
| }; |
| |
| #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_TAB_MATCHER_IMPL_H_ |