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/navigation_data.h" | 7 #include "content/public/browser/navigation_data.h" |
8 #include "content/public/browser/resource_request_info.h" | 8 #include "content/public/browser/resource_request_info.h" |
9 #include "content/public/browser/stream_info.h" | 9 #include "content/public/browser/stream_info.h" |
10 #include "net/ssl/client_cert_store.h" | 10 #include "net/ssl/client_cert_store.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( | 64 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( |
65 net::URLRequest* request, | 65 net::URLRequest* request, |
66 const base::FilePath& plugin_path, | 66 const base::FilePath& plugin_path, |
67 const std::string& mime_type, | 67 const std::string& mime_type, |
68 GURL* origin, | 68 GURL* origin, |
69 std::string* payload) { | 69 std::string* payload) { |
70 return false; | 70 return false; |
71 } | 71 } |
72 | 72 |
| 73 bool ResourceDispatcherHostDelegate::ShouldSinkResponse( |
| 74 net::URLRequest* request, |
| 75 ResourceType resource_type) { |
| 76 return false; |
| 77 } |
| 78 |
73 void ResourceDispatcherHostDelegate::OnStreamCreated( | 79 void ResourceDispatcherHostDelegate::OnStreamCreated( |
74 net::URLRequest* request, | 80 net::URLRequest* request, |
75 std::unique_ptr<content::StreamInfo> stream) {} | 81 std::unique_ptr<content::StreamInfo> stream) {} |
76 | 82 |
77 void ResourceDispatcherHostDelegate::OnResponseStarted( | 83 void ResourceDispatcherHostDelegate::OnResponseStarted( |
78 net::URLRequest* request, | 84 net::URLRequest* request, |
79 ResourceContext* resource_context, | 85 ResourceContext* resource_context, |
80 ResourceResponse* response) {} | 86 ResourceResponse* response) {} |
81 | 87 |
82 void ResourceDispatcherHostDelegate::OnRequestRedirected( | 88 void ResourceDispatcherHostDelegate::OnRequestRedirected( |
(...skipping 26 matching lines...) Expand all Loading... |
109 | 115 |
110 void ResourceDispatcherHostDelegate::OnAbortedFrameLoad( | 116 void ResourceDispatcherHostDelegate::OnAbortedFrameLoad( |
111 const GURL& url, | 117 const GURL& url, |
112 base::TimeDelta request_loading_time) { | 118 base::TimeDelta request_loading_time) { |
113 } | 119 } |
114 | 120 |
115 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 121 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
116 } | 122 } |
117 | 123 |
118 } // namespace content | 124 } // namespace content |
OLD | NEW |