OLD | NEW |
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 #include "content/public/browser/stream_info.h" | 7 #include "content/public/browser/stream_info.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 ScopedVector<ResourceThrottle>* throttles) { | 35 ScopedVector<ResourceThrottle>* throttles) { |
36 } | 36 } |
37 | 37 |
38 ResourceDispatcherHostLoginDelegate* | 38 ResourceDispatcherHostLoginDelegate* |
39 ResourceDispatcherHostDelegate::CreateLoginDelegate( | 39 ResourceDispatcherHostDelegate::CreateLoginDelegate( |
40 net::AuthChallengeInfo* auth_info, | 40 net::AuthChallengeInfo* auth_info, |
41 net::URLRequest* request) { | 41 net::URLRequest* request) { |
42 return nullptr; | 42 return nullptr; |
43 } | 43 } |
44 | 44 |
45 bool ResourceDispatcherHostDelegate::HandleExternalProtocol(const GURL& url, | 45 bool ResourceDispatcherHostDelegate::HandleExternalProtocol( |
46 int child_id, | 46 const GURL& url, |
47 int route_id) { | 47 int child_id, |
| 48 int route_id, |
| 49 ui::PageTransition page_transition) { |
48 return true; | 50 return true; |
49 } | 51 } |
50 | 52 |
51 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( | 53 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( |
52 const GURL& url, | 54 const GURL& url, |
53 const std::string& mime_type) { | 55 const std::string& mime_type) { |
54 return false; | 56 return false; |
55 } | 57 } |
56 | 58 |
57 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( | 59 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( |
(...skipping 27 matching lines...) Expand all Loading... |
85 net::URLRequest* url_request) { | 87 net::URLRequest* url_request) { |
86 } | 88 } |
87 | 89 |
88 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { | 90 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
89 } | 91 } |
90 | 92 |
91 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 93 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
92 } | 94 } |
93 | 95 |
94 } // namespace content | 96 } // namespace content |
OLD | NEW |