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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 10381122: Add flag to specify if explicitly requested download is from web. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR and integrated into DownloadUrlParams. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
10 int child_id, 10 int child_id,
(...skipping 15 matching lines...) Expand all
26 bool is_continuation_of_transferred_request, 26 bool is_continuation_of_transferred_request,
27 ScopedVector<ResourceThrottle>* throttles) { 27 ScopedVector<ResourceThrottle>* throttles) {
28 } 28 }
29 29
30 void ResourceDispatcherHostDelegate::DownloadStarting( 30 void ResourceDispatcherHostDelegate::DownloadStarting(
31 net::URLRequest* request, 31 net::URLRequest* request,
32 ResourceContext* resource_context, 32 ResourceContext* resource_context,
33 int child_id, 33 int child_id,
34 int route_id, 34 int route_id,
35 int request_id, 35 int request_id,
36 bool is_new_request, 36 bool is_content_initiated,
37 ScopedVector<ResourceThrottle>* throttles) { 37 ScopedVector<ResourceThrottle>* throttles) {
38 } 38 }
39 39
40 bool ResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest( 40 bool ResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest(
41 net::URLRequest* request, 41 net::URLRequest* request,
42 net::SSLCertRequestInfo* cert_request_info) { 42 net::SSLCertRequestInfo* cert_request_info) {
43 return false; 43 return false;
44 } 44 }
45 45
46 bool ResourceDispatcherHostDelegate::AcceptAuthRequest( 46 bool ResourceDispatcherHostDelegate::AcceptAuthRequest(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ResourceResponse* response) { 78 ResourceResponse* response) {
79 } 79 }
80 80
81 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 81 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
82 } 82 }
83 83
84 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 84 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
85 } 85 }
86 86
87 } // namespace content 87 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698