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

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

Issue 7919003: Remove refptr usages from SpellCheckHost (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: comments for new methods and vars Created 9 years, 1 month 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 | « no previous file | chrome/browser/spellchecker/spellcheck_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spellcheck_host.h
diff --git a/chrome/browser/spellchecker/spellcheck_host.h b/chrome/browser/spellchecker/spellcheck_host.h
index 1da69397c380d995459853c56fe05bebbe9815a0..a439aa345d8931912d6a9e5e6a308449f46c8924 100644
--- a/chrome/browser/spellchecker/spellcheck_host.h
+++ b/chrome/browser/spellchecker/spellcheck_host.h
@@ -48,9 +48,7 @@ class URLRequestContextGetter;
// 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.
-class SpellCheckHost
- : public base::RefCountedThreadSafe<
- SpellCheckHost, content::BrowserThread::DeleteOnFileThread> {
+class SpellCheckHost {
public:
// Event types used for reporting the status of this class and its derived
// classes to browser tests.
@@ -62,7 +60,7 @@ class SpellCheckHost
virtual ~SpellCheckHost() {}
// Creates the instance of SpellCheckHost implementation object.
- static scoped_refptr<SpellCheckHost> Create(
+ static SpellCheckHost* Create(
SpellCheckProfileProvider* profile,
const std::string& language,
net::URLRequestContextGetter* request_context_getter,
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spellcheck_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698