diff options
Diffstat (limited to 'chromium/components/spellcheck/browser/spelling_service_client.cc')
-rw-r--r-- | chromium/components/spellcheck/browser/spelling_service_client.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/spellcheck/browser/spelling_service_client.cc b/chromium/components/spellcheck/browser/spelling_service_client.cc index e8afa352631..bbea5be5d3d 100644 --- a/chromium/components/spellcheck/browser/spelling_service_client.cc +++ b/chromium/components/spellcheck/browser/spelling_service_client.cc @@ -18,7 +18,9 @@ #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "base/values.h" +#ifndef TOOLKIT_QT #include "components/data_use_measurement/core/data_use_user_data.h" +#endif #include "components/prefs/pref_service.h" #include "components/spellcheck/browser/pref_names.h" #include "components/spellcheck/common/spellcheck_common.h" @@ -102,6 +104,7 @@ bool SpellingServiceClient::RequestTextCheck( kSpellingRequest, type, encoded_text.c_str(), language_code.c_str(), country_code.c_str(), api_key.c_str()); +#ifndef TOOLKIT_QT GURL url = GURL(kSpellingServiceURL); // Create traffic annotation tag. @@ -151,6 +154,7 @@ bool SpellingServiceClient::RequestTextCheck( spellcheck_fetchers_[fetcher] = std::make_unique<TextCheckCallbackData>( base::WrapUnique(fetcher), std::move(callback), text); fetcher->Start(); +#endif return true; } |