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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ResourceContext* resource_context, |
73 ResourceResponse* response, | 73 ResourceResponse* response, |
74 IPC::Sender* sender) { | 74 IPC::Sender* sender) { |
75 } | 75 } |
76 | 76 |
77 void ResourceDispatcherHostDelegate::OnRequestRedirected( | 77 void ResourceDispatcherHostDelegate::OnRequestRedirected( |
| 78 const GURL& redirect_url, |
78 net::URLRequest* request, | 79 net::URLRequest* request, |
79 ResourceContext* resource_context, | 80 ResourceContext* resource_context, |
80 ResourceResponse* response) { | 81 ResourceResponse* response) { |
81 } | 82 } |
82 | 83 |
83 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { | 84 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
84 } | 85 } |
85 | 86 |
86 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 87 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
87 } | 88 } |
88 | 89 |
89 } // namespace content | 90 } // namespace content |
OLD | NEW |