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

Unified Diff: chrome/browser/download/save_file_manager.h

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and sync Created 9 years, 7 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_util.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 84789)
+++ chrome/browser/download/save_file_manager.h (working copy)
@@ -66,9 +66,6 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/download/save_types.h"
-namespace net {
-class IOBuffer;
-}
class FilePath;
class GURL;
class SaveFile;
@@ -76,8 +73,12 @@
class ResourceDispatcherHost;
class Task;
+namespace content {
+class ResourceContext;
+}
+
namespace net {
-class URLRequestContextGetter;
+class IOBuffer;
}
class SaveFileManager
@@ -99,7 +100,7 @@
int render_view_id,
SaveFileCreateInfo::SaveFileSource save_source,
const FilePath& file_full_path,
- net::URLRequestContextGetter* request_context_getter,
+ const content::ResourceContext& context,
SavePackage* save_package);
// Notifications sent from the IO thread and run on the file thread:
@@ -213,7 +214,7 @@
const GURL& referrer,
int render_process_host_id,
int render_view_id,
- net::URLRequestContextGetter* request_context_getter);
+ const content::ResourceContext* context);
// 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_util.cc ('k') | chrome/browser/download/save_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698