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 namespace content { | 7 namespace content { |
8 | 8 |
9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( | 9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( |
10 int child_id, | 10 int child_id, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( | 64 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( |
65 const GURL& url, | 65 const GURL& url, |
66 const std::string& mime_type) { | 66 const std::string& mime_type) { |
67 return false; | 67 return false; |
68 } | 68 } |
69 | 69 |
70 void ResourceDispatcherHostDelegate::OnResponseStarted( | 70 void ResourceDispatcherHostDelegate::OnResponseStarted( |
71 net::URLRequest* request, | 71 net::URLRequest* request, |
| 72 ResourceContext* resource_context, |
72 ResourceResponse* response, | 73 ResourceResponse* response, |
73 IPC::Sender* sender) { | 74 IPC::Sender* sender) { |
74 } | 75 } |
75 | 76 |
76 void ResourceDispatcherHostDelegate::OnRequestRedirected( | 77 void ResourceDispatcherHostDelegate::OnRequestRedirected( |
77 net::URLRequest* request, | 78 net::URLRequest* request, |
| 79 ResourceContext* resource_context, |
78 ResourceResponse* response) { | 80 ResourceResponse* response) { |
79 } | 81 } |
80 | 82 |
81 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { | 83 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
82 } | 84 } |
83 | 85 |
84 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 86 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
85 } | 87 } |
86 | 88 |
87 } // namespace content | 89 } // namespace content |
OLD | NEW |