Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 481593002: Remove child/route parameters from ShouldBeginRequest and RequestBeginning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android build Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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,
13 int route_id,
14 const std::string& method, 12 const std::string& method,
15 const GURL& url, 13 const GURL& url,
16 ResourceType resource_type, 14 ResourceType resource_type,
17 ResourceContext* resource_context) { 15 ResourceContext* resource_context) {
18 return true; 16 return true;
19 } 17 }
20 18
21 void ResourceDispatcherHostDelegate::RequestBeginning( 19 void ResourceDispatcherHostDelegate::RequestBeginning(
22 net::URLRequest* request, 20 net::URLRequest* request,
23 ResourceContext* resource_context, 21 ResourceContext* resource_context,
24 AppCacheService* appcache_service, 22 AppCacheService* appcache_service,
25 ResourceType resource_type, 23 ResourceType resource_type,
26 int child_id,
27 int route_id,
28 ScopedVector<ResourceThrottle>* throttles) { 24 ScopedVector<ResourceThrottle>* throttles) {
29 } 25 }
30 26
31 void ResourceDispatcherHostDelegate::DownloadStarting( 27 void ResourceDispatcherHostDelegate::DownloadStarting(
32 net::URLRequest* request, 28 net::URLRequest* request,
33 ResourceContext* resource_context, 29 ResourceContext* resource_context,
34 int child_id, 30 int child_id,
35 int route_id, 31 int route_id,
36 int request_id, 32 int request_id,
37 bool is_content_initiated, 33 bool is_content_initiated,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 net::URLRequest* url_request) { 85 net::URLRequest* url_request) {
90 } 86 }
91 87
92 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 88 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
93 } 89 }
94 90
95 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 91 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
96 } 92 }
97 93
98 } // namespace content 94 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698