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

Unified Diff: content/browser/download/download_resource_handler.cc

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix build (Referrer is a struct, not a class) Created 8 years, 6 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/chrome_tests.gypi ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_resource_handler.cc
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc
index 790ea6930006ecb347f1279e9400198d4120a49b..2e4f6f0ea5599a8ac8f061353e46e641b9d630bd 100644
--- a/content/browser/download/download_resource_handler.cc
+++ b/content/browser/download/download_resource_handler.cc
@@ -144,7 +144,7 @@ bool DownloadResourceHandler::OnResponseStarted(
// Deleted in DownloadManager.
scoped_ptr<DownloadCreateInfo> info(new DownloadCreateInfo(
base::Time::Now(), 0, content_length_, DownloadItem::IN_PROGRESS,
- request_->net_log(), request_info->has_user_gesture(),
+ request_->net_log(), request_info->HasUserGesture(),
request_info->transition_type()));
// Create the ByteStream for sending data to the download sink.
@@ -162,7 +162,7 @@ bool DownloadResourceHandler::OnResponseStarted(
info->received_bytes = save_info_.offset;
info->total_bytes = content_length_;
info->state = DownloadItem::IN_PROGRESS;
- info->has_user_gesture = request_info->has_user_gesture();
+ info->has_user_gesture = request_info->HasUserGesture();
info->content_disposition = content_disposition_;
info->mime_type = response->mime_type;
info->remote_address = request_->GetSocketAddress().host();
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698