| Index: chrome/browser/spellchecker/spellcheck_message_filter.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_message_filter.cc b/chrome/browser/spellchecker/spellcheck_message_filter.cc
|
| index 4127391e070b63aebc91509a819801a401293be6..50335478270953542583ba931d045ac01a177878 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_message_filter.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_message_filter.cc
|
| @@ -9,13 +9,13 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "chrome/browser/spellchecker/feedback_sender.h"
|
| +#include "components/spellcheck/browser/feedback_sender.h"
|
| #include "chrome/browser/spellchecker/spellcheck_factory.h"
|
| -#include "chrome/browser/spellchecker/spellcheck_host_metrics.h"
|
| +#include "components/spellcheck/browser/spellcheck_host_metrics.h"
|
| #include "chrome/browser/spellchecker/spellcheck_service.h"
|
| -#include "chrome/browser/spellchecker/spelling_service_client.h"
|
| -#include "chrome/common/spellcheck_marker.h"
|
| -#include "chrome/common/spellcheck_messages.h"
|
| +#include "components/spellcheck/browser/spelling_service_client.h"
|
| +#include "components/spellcheck/common/spellcheck_marker.h"
|
| +#include "components/spellcheck/common/spellcheck_messages.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "net/url_request/url_fetcher.h"
|
| @@ -64,6 +64,7 @@ bool SpellCheckMessageFilter::OnMessageReceived(const IPC::Message& message) {
|
| SpellCheckMessageFilter::~SpellCheckMessageFilter() {}
|
|
|
| void SpellCheckMessageFilter::OnSpellCheckerRequestDictionary() {
|
| +LOG(INFO)<<"BLA SpellCheckMessageFilter::OnSpellCheckerRequestDictionary";
|
| content::RenderProcessHost* host =
|
| content::RenderProcessHost::FromID(render_process_id_);
|
| if (!host)
|
| @@ -86,6 +87,7 @@ void SpellCheckMessageFilter::OnSpellCheckerRequestDictionary() {
|
|
|
| void SpellCheckMessageFilter::OnNotifyChecked(const base::string16& word,
|
| bool misspelled) {
|
| +LOG(INFO)<<"BLA SpellCheckMessageFilter::OnNotifyChecked";
|
| SpellcheckService* spellcheck = GetSpellcheckService();
|
| // Spellcheck service may not be available for a renderer process that is
|
| // shutting down.
|
| @@ -97,6 +99,7 @@ void SpellCheckMessageFilter::OnNotifyChecked(const base::string16& word,
|
|
|
| void SpellCheckMessageFilter::OnRespondDocumentMarkers(
|
| const std::vector<uint32_t>& markers) {
|
| +LOG(INFO)<<"BLA SpellCheckMessageFilter::OnRespondDocumentMarkers";
|
| SpellcheckService* spellcheck = GetSpellcheckService();
|
| // Spellcheck service may not be available for a renderer process that is
|
| // shutting down.
|
| @@ -112,6 +115,7 @@ void SpellCheckMessageFilter::OnCallSpellingService(
|
| int identifier,
|
| const base::string16& text,
|
| std::vector<SpellCheckMarker> markers) {
|
| +LOG(INFO)<<"BLA SpellCheckMessageFilter::OnCallSpellingService";
|
| DCHECK(!text.empty());
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| // Erase invalid markers (with offsets out of boundaries of text length).
|
|
|