| Index: chrome/browser/spellchecker/spellcheck_host.h
|
| diff --git a/chrome/browser/spellchecker/spellcheck_host.h b/chrome/browser/spellchecker/spellcheck_host.h
|
| index 0450698129585a36d520b436954df7ed6fba166f..c349d42dc6d52b24437733bb26a6c3f3668f934a 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_host.h
|
| +++ b/chrome/browser/spellchecker/spellcheck_host.h
|
| @@ -39,7 +39,7 @@ class URLRequestContextGetter;
|
| // spellcheck_host_ = SpellCheckHost::Create(
|
| // observer, languages[0], req_getter);
|
| //
|
| -// The class is intended to be owned by ProfileImpl so users should
|
| +// The class is intended to be owned by SpellCheckProfile so users should
|
| // retrieve the instance via Profile::GetSpellCheckHost().
|
| // Users should not hold the reference over the function scope because
|
| // the instance can be invalidated during the browser's lifecycle.
|
| @@ -82,6 +82,9 @@ class SpellCheckHost
|
| // or null when metrics recording is disabled.
|
| virtual SpellCheckHostMetrics* GetMetrics() const = 0;
|
|
|
| + // Returns true if the dictionary is ready to use.
|
| + virtual bool IsReady() const = 0;
|
| +
|
| // This function computes a vector of strings which are to be displayed in
|
| // the context menu over a text area for changing spell check languages. It
|
| // returns the index of the current spell check language in the vector.
|
|
|