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

Unified Diff: chrome/browser/download/save_package.cc

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/save_package.h ('k') | chrome/browser/extensions/user_script_listener_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_package.cc
===================================================================
--- chrome/browser/download/save_package.cc (revision 84789)
+++ chrome/browser/download/save_package.cc (working copy)
@@ -53,7 +53,6 @@
#include "net/url_request/url_request_context.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClient.h"
#include "ui/base/l10n/l10n_util.h"
-#include "net/url_request/url_request_context_getter.h"
using base::Time;
using WebKit::WebPageSerializerClient;
@@ -311,8 +310,6 @@
return false;
}
- request_context_getter_ = profile->GetRequestContext();
-
// Create the fake DownloadItem and display the view.
DownloadManager* download_manager =
tab_contents()->profile()->GetDownloadManager();
@@ -866,7 +863,7 @@
routing_id(),
save_item->save_source(),
save_item->full_path(),
- request_context_getter_.get(),
+ tab_contents()->profile()->GetResourceContext(),
this);
} while (process_all_remaining_items && waiting_item_queue_.size());
}
« no previous file with comments | « chrome/browser/download/save_package.h ('k') | chrome/browser/extensions/user_script_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698