diff options
-rw-r--r-- | chromium/content/browser/browser_context.cc | 5 | ||||
-rw-r--r-- | chromium/content/public/browser/browser_context.h | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/chromium/content/browser/browser_context.cc b/chromium/content/browser/browser_context.cc index db928f54e19..9099ae05956 100644 --- a/chromium/content/browser/browser_context.cc +++ b/chromium/content/browser/browser_context.cc @@ -345,6 +345,11 @@ void BrowserContext::WriteIntoTrace( // section into a separate BrowserContextDelegate class and a separate // browser_context_delegate.cc source file. +#if defined(TOOLKIT_QT) +void BrowserContext::FailedToLoadDictionary(const std::string&) { +} +#endif + std::string BrowserContext::GetMediaDeviceIDSalt() { return UniqueId(); } diff --git a/chromium/content/public/browser/browser_context.h b/chromium/content/public/browser/browser_context.h index 96cd097d9e5..81fba2e18c2 100644 --- a/chromium/content/public/browser/browser_context.h +++ b/chromium/content/public/browser/browser_context.h @@ -17,7 +17,6 @@ #include "base/callback_forward.h" #include "base/memory/weak_ptr.h" #include "base/supports_user_data.h" -#include "components/spellcheck/spellcheck_buildflags.h" #include "content/common/content_export.h" #include "content/public/browser/k_anonymity_service_delegate.h" #include "content/public/browser/zoom_level_delegate.h" @@ -403,9 +402,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { // Default implementation uses the BrowserContext's UniqueId. virtual std::string GetMediaDeviceIDSalt(); -#if defined(TOOLKIT_QT) && BUILDFLAG(ENABLE_SPELLCHECK) +#if defined(TOOLKIT_QT) // Inform about not working dictionary for given language - virtual void FailedToLoadDictionary(const std::string& language) = 0; + virtual void FailedToLoadDictionary(const std::string& language); #endif // Returns the FileSystemAccessPermissionContext associated with this context |