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_handle.h" | 7 #include "content/public/browser/stream_handle.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( | 11 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( |
12 int child_id, | 12 int child_id, |
13 int route_id, | 13 int route_id, |
14 const std::string& method, | 14 const std::string& method, |
15 const GURL& url, | 15 const GURL& url, |
16 ResourceType::Type resource_type, | 16 ResourceType::Type resource_type, |
17 ResourceContext* resource_context) { | 17 ResourceContext* resource_context) { |
18 return true; | 18 return true; |
19 } | 19 } |
20 | 20 |
21 void ResourceDispatcherHostDelegate::RequestBeginning( | 21 void ResourceDispatcherHostDelegate::RequestBeginning( |
22 net::URLRequest* request, | 22 net::URLRequest* request, |
23 ResourceContext* resource_context, | 23 ResourceContext* resource_context, |
24 appcache::AppCacheService* appcache_service, | 24 AppCacheService* appcache_service, |
25 ResourceType::Type resource_type, | 25 ResourceType::Type resource_type, |
26 int child_id, | 26 int child_id, |
27 int route_id, | 27 int route_id, |
28 ScopedVector<ResourceThrottle>* throttles) { | 28 ScopedVector<ResourceThrottle>* throttles) { |
29 } | 29 } |
30 | 30 |
31 void ResourceDispatcherHostDelegate::DownloadStarting( | 31 void ResourceDispatcherHostDelegate::DownloadStarting( |
32 net::URLRequest* request, | 32 net::URLRequest* request, |
33 ResourceContext* resource_context, | 33 ResourceContext* resource_context, |
34 int child_id, | 34 int child_id, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 net::URLRequest* url_request) { | 91 net::URLRequest* url_request) { |
92 } | 92 } |
93 | 93 |
94 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { | 94 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
95 } | 95 } |
96 | 96 |
97 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 97 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
98 } | 98 } |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
OLD | NEW |