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

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

Issue 8432027: NOT FOR REVIEW: quick hacks for http://codereview.chromium.org/7919003/ Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « 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
===================================================================
--- chrome/browser/spellchecker/spellcheck_host.h (revision 108048)
+++ chrome/browser/spellchecker/spellcheck_host.h (working copy)
@@ -48,9 +48,7 @@
// 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,
- 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 @@
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