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

Unified Diff: chrome/browser/spellchecker/spellcheck_host_impl.h

Issue 7919003: Remove refptr usages from SpellCheckHost (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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
Index: chrome/browser/spellchecker/spellcheck_host_impl.h
diff --git a/chrome/browser/spellchecker/spellcheck_host_impl.h b/chrome/browser/spellchecker/spellcheck_host_impl.h
index 6ec5ec4c227b401e8525c02819e0105778d34333..36ab9c5d406546a90150b274804c3c4b2f6261c5 100644
--- a/chrome/browser/spellchecker/spellcheck_host_impl.h
+++ b/chrome/browser/spellchecker/spellcheck_host_impl.h
@@ -46,6 +46,8 @@ class SpellCheckHostImpl : public SpellCheckHost,
net::URLRequestContextGetter* request_context_getter,
SpellCheckHostMetrics* metrics);
+ virtual ~SpellCheckHostImpl();
+
void Initialize();
// SpellCheckHost implementation
@@ -63,8 +65,6 @@ class SpellCheckHostImpl : public SpellCheckHost,
friend class BrowserThread;
friend class DeleteTask<SpellCheckHostImpl>;
- virtual ~SpellCheckHostImpl();
-
// Figure out the location for the dictionary. This is only non-trivial for
// Windows:
// The default place whether the spellcheck dictionary can reside is
@@ -161,6 +161,8 @@ class SpellCheckHostImpl : public SpellCheckHost,
// An optional metrics counter given by the constructor.
SpellCheckHostMetrics* metrics_;
+ ScopedRunnableMethodFactory<SpellCheckHostImpl> service_task_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SpellCheckHostImpl);
};

Powered by Google App Engine
This is Rietveld 408576698