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

Unified Diff: chrome/browser/spellchecker.h

Issue 258008: Move initialization of ChromeURLRequestContexts to the IO thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync again, just in case 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/renderer_host/resource_message_filter.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 29872)
+++ chrome/browser/spellchecker.h (working copy)
@@ -26,8 +26,8 @@
class PrefService;
class Profile;
class MessageLoop;
-class URLRequestContext;
class URLFetcher;
+class URLRequestContextGetter;
namespace file_util {
class MemoryMappedFile;
@@ -56,7 +56,7 @@
// testing.
SpellChecker(const FilePath& dict_dir,
const std::string& language,
- URLRequestContext* request_context,
+ URLRequestContextGetter* request_context_getter,
const FilePath& custom_dictionary_file_name);
// Only delete on the I/O thread (see above).
@@ -210,7 +210,7 @@
MessageLoop* file_loop_;
// Used for requests. MAY BE NULL which means don't try to download.
- URLRequestContext* url_request_context_;
+ URLRequestContextGetter* request_context_getter_;
// True when we're downloading or saving a dictionary.
bool obtaining_dictionary_;
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/browser/spellchecker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698