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

Side by Side Diff: chrome/browser/spellcheck_host.h

Issue 2937010: Reland r52336. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPELLCHECK_HOST_H_ 5 #ifndef CHROME_BROWSER_SPELLCHECK_HOST_H_
6 #define CHROME_BROWSER_SPELLCHECK_HOST_H_ 6 #define CHROME_BROWSER_SPELLCHECK_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/platform_file.h" 12 #include "base/platform_file.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h"
14 #include "chrome/browser/chrome_thread.h" 15 #include "chrome/browser/chrome_thread.h"
15 #include "chrome/common/net/url_fetcher.h" 16 #include "chrome/common/net/url_fetcher.h"
16 17
17 class Profile; 18 class Profile;
18 class SpellCheckHostObserver; 19 class SpellCheckHostObserver;
19 class URLRequestContextGetter; 20 class URLRequestContextGetter;
20 21
21 class SpellCheckHost : public base::RefCountedThreadSafe<SpellCheckHost, 22 class SpellCheckHost : public base::RefCountedThreadSafe<SpellCheckHost,
22 ChromeThread::DeleteOnFileThread>, 23 ChromeThread::DeleteOnFileThread>,
23 public URLFetcher::Delegate { 24 public URLFetcher::Delegate {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 126
126 // Used for downloading the dictionary file. We don't hold a reference, and 127 // Used for downloading the dictionary file. We don't hold a reference, and
127 // it is only valid to use it on the UI thread. 128 // it is only valid to use it on the UI thread.
128 URLRequestContextGetter* request_context_getter_; 129 URLRequestContextGetter* request_context_getter_;
129 130
130 // Used for downloading the dictionary file. 131 // Used for downloading the dictionary file.
131 scoped_ptr<URLFetcher> fetcher_; 132 scoped_ptr<URLFetcher> fetcher_;
132 }; 133 };
133 134
134 #endif // CHROME_BROWSER_SPELLCHECK_HOST_H_ 135 #endif // CHROME_BROWSER_SPELLCHECK_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service.cc ('k') | chrome/browser/sync/util/extensions_activity_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698