diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 08:03:16 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 08:03:16 +0000 |
commit | 9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7 (patch) | |
tree | 8c40767e736727e95fb735cfe1ab50f1cc984bdc /chrome/browser/spellcheck_host.h | |
parent | 5ef9898d7c51f934efdd45d5fdbc0e1faacec189 (diff) | |
download | chromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.zip chromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.tar.gz chromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.tar.bz2 |
[GTTF] Reduce header dependencies in chrome.
Review URL: http://codereview.chromium.org/457025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellcheck_host.h')
-rw-r--r-- | chrome/browser/spellcheck_host.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/chrome/browser/spellcheck_host.h b/chrome/browser/spellcheck_host.h index 325921a..493f26c 100644 --- a/chrome/browser/spellcheck_host.h +++ b/chrome/browser/spellcheck_host.h @@ -13,20 +13,16 @@ #include "base/ref_counted.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/net/url_fetcher.h" -#include "chrome/browser/net/url_request_context_getter.h" class Profile; +class SpellCheckHostObserver; +class URLRequestContextGetter; class SpellCheckHost : public base::RefCountedThreadSafe<SpellCheckHost, ChromeThread::DeleteOnFileThread>, public URLFetcher::Delegate { public: - class Observer { - public: - virtual void SpellCheckHostInitialized() = 0; - }; - - SpellCheckHost(Observer* observer, + SpellCheckHost(SpellCheckHostObserver* observer, const std::string& language, URLRequestContextGetter* request_context_getter); @@ -100,7 +96,7 @@ class SpellCheckHost : public base::RefCountedThreadSafe<SpellCheckHost, void SaveDictionaryData(); // May be NULL. - Observer* observer_; + SpellCheckHostObserver* observer_; // The desired location of the dictionary file (whether or not t exists yet). FilePath bdict_file_path_; |