| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/renderer_host/resource_dispatcher_host_delegate.h" |
| 6 |
| 7 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
| 8 } |
| 9 |
| 10 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
| 11 } |
| 12 |
| 13 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( |
| 14 int child_id, int route_id, |
| 15 const ResourceHostMsg_Request& request_data, |
| 16 const content::ResourceContext& resource_context, |
| 17 const GURL& referrer) { |
| 18 return true; |
| 19 } |
| 20 |
| 21 ResourceHandler* ResourceDispatcherHostDelegate::RequestBeginning( |
| 22 ResourceHandler* handler, |
| 23 net::URLRequest* request, |
| 24 bool is_subresource, |
| 25 int child_id, |
| 26 int route_id) { |
| 27 return handler; |
| 28 } |
| 29 |
| 30 ResourceHandler* ResourceDispatcherHostDelegate::DownloadStarting( |
| 31 ResourceHandler* handler, |
| 32 int child_id, |
| 33 int route_id) { |
| 34 return handler; |
| 35 } |
| 36 |
| 37 bool ResourceDispatcherHostDelegate::ShouldDeferStart( |
| 38 net::URLRequest* request, |
| 39 const content::ResourceContext& resource_context) { |
| 40 return false; |
| 41 } |
| 42 |
| 43 bool ResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest( |
| 44 net::URLRequest* request, |
| 45 net::SSLCertRequestInfo* cert_request_info) { |
| 46 return false; |
| 47 } |
| 48 |
| 49 bool ResourceDispatcherHostDelegate::AcceptAuthRequest( |
| 50 net::URLRequest* request, net::AuthChallengeInfo* auth_info) { |
| 51 return false; |
| 52 } |
| 53 |
| 54 ResourceDispatcherHostLoginDelegate* |
| 55 ResourceDispatcherHostDelegate::CreateLoginDelegate( |
| 56 net::AuthChallengeInfo* auth_info, net::URLRequest* request) { |
| 57 return NULL; |
| 58 } |
| 59 |
| 60 void ResourceDispatcherHostDelegate::HandleExternalProtocol(const GURL& url, |
| 61 int child_id, |
| 62 int route_id) { |
| 63 } |
| OLD | NEW |