diff options
Diffstat (limited to 'chromium/content/public/browser/browser_context.h')
-rw-r--r-- | chromium/content/public/browser/browser_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/content/public/browser/browser_context.h b/chromium/content/public/browser/browser_context.h index 4e55b1a79ac..898a863c53b 100644 --- a/chromium/content/public/browser/browser_context.h +++ b/chromium/content/public/browser/browser_context.h @@ -18,6 +18,7 @@ #include "base/memory/weak_ptr.h" #include "base/optional.h" #include "base/supports_user_data.h" +#include "components/spellcheck/spellcheck_buildflags.h" #include "content/common/content_export.h" #include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_remote.h" @@ -339,6 +340,11 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { // directly, so privacy is not compromised. virtual media::VideoDecodePerfHistory* GetVideoDecodePerfHistory(); +#if defined(TOOLKIT_QT) && BUILDFLAG(ENABLE_SPELLCHECK) + // Inform about not working dictionary for given language + virtual void FailedToLoadDictionary(const std::string& language) = 0; +#endif + // Returns a LearningSession associated with |this|. Used as the central // source from which to retrieve LearningTaskControllers for media machine // learning. |