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

Unified Diff: chrome/browser/download/save_file_manager.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/download/download_manager.cc ('k') | chrome/browser/download/save_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_file_manager.h
===================================================================
--- chrome/browser/download/save_file_manager.h (revision 29872)
+++ chrome/browser/download/save_file_manager.h (working copy)
@@ -75,7 +75,7 @@
class MessageLoop;
class ResourceDispatcherHost;
class Task;
-class URLRequestContext;
+class URLRequestContextGetter;
class SaveFileManager
: public base::RefCountedThreadSafe<SaveFileManager> {
@@ -99,7 +99,7 @@
int render_view_id,
SaveFileCreateInfo::SaveFileSource save_source,
const FilePath& file_full_path,
- URLRequestContext* request_context,
+ URLRequestContextGetter* request_context_getter,
SavePackage* save_package);
// Notifications sent from the IO thread and run on the file thread:
@@ -218,7 +218,7 @@
const GURL& referrer,
int render_process_host_id,
int render_view_id,
- URLRequestContext* request_context);
+ URLRequestContextGetter* request_context_getter);
// Handler for a notification sent to the IO thread for generating save id.
void OnRequireSaveJobFromOtherSource(SaveFileCreateInfo* info);
// Call ResourceDispatcherHost's CancelRequest method to execute cancel
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/save_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698