Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: chrome/browser/spellchecker.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/spellcheck_unittest.cc ('k') | chrome/browser/spellchecker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker.h
===================================================================
--- chrome/browser/spellchecker.h (revision 30650)
+++ chrome/browser/spellchecker.h (working copy)
@@ -25,7 +25,6 @@
class Hunspell;
class PrefService;
class Profile;
-class MessageLoop;
class URLFetcher;
class URLRequestContextGetter;
@@ -116,6 +115,14 @@
private:
friend class ReadDictionaryTask;
+ FRIEND_TEST(SpellCheckTest, SpellCheckStrings_EN_US);
+ FRIEND_TEST(SpellCheckTest, SpellCheckSuggestions_EN_US);
+ FRIEND_TEST(SpellCheckTest, SpellCheckText);
+ FRIEND_TEST(SpellCheckTest, DISABLED_SpellCheckAddToDictionary_EN_US);
+ FRIEND_TEST(SpellCheckTest,
+ DISABLED_SpellCheckSuggestionsAddToDictionary_EN_US);
+ FRIEND_TEST(SpellCheckTest, GetAutoCorrectionWord_EN_US);
+ FRIEND_TEST(SpellCheckTest, IgnoreWords_EN_US);
// URLFetcher::Delegate implementation. Called when we finish downloading the
// spellcheck dictionary; saves the dictionary to disk.
@@ -206,9 +213,6 @@
// Flag indicating whether we tried to download the dictionary file.
bool tried_to_download_dictionary_file_;
- // File Thread Message Loop.
- MessageLoop* file_loop_;
-
// Used for requests. MAY BE NULL which means don't try to download.
URLRequestContextGetter* request_context_getter_;
« no previous file with comments | « chrome/browser/spellcheck_unittest.cc ('k') | chrome/browser/spellchecker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698