| // Copyright 2024 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_CHROME_BROWSER_TEXT_SELECTION_MODEL_TEXT_CLASSIFIER_UTIL_H_ |
| #define IOS_CHROME_BROWSER_TEXT_SELECTION_MODEL_TEXT_CLASSIFIER_UTIL_H_ |
| |
| #import "ios/web/public/web_state.h" |
| |
| // Returns whether entity detection is allowed for URL. |
| bool IsEntitySelectionAllowedForURL(web::WebState* web_state); |
| |
| #endif // IOS_CHROME_BROWSER_TEXT_SELECTION_MODEL_TEXT_CLASSIFIER_UTIL_H_ |