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

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

Issue 7058041: Remove ResourceDispatcherHost dependency on Chrome's LoginHandler and ExternalProtocolHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 9 years, 6 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/renderer_host/resource_dispatcher_host_delegate.h"
6
7 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
8 }
9
10 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
11 }
12
13 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
14 int child_id, int route_id,
15 const ResourceHostMsg_Request& request_data,
16 const content::ResourceContext& resource_context,
17 const GURL& referrer) {
18 return true;
19 }
20
21 ResourceHandler* ResourceDispatcherHostDelegate::RequestBeginning(
22 ResourceHandler* handler,
23 net::URLRequest* request,
24 bool is_subresource,
25 int child_id,
26 int route_id) {
27 return handler;
28 }
29
30 ResourceHandler* ResourceDispatcherHostDelegate::DownloadStarting(
31 ResourceHandler* handler,
32 int child_id,
33 int route_id) {
34 return handler;
35 }
36
37 bool ResourceDispatcherHostDelegate::ShouldDeferStart(
38 net::URLRequest* request,
39 const content::ResourceContext& resource_context) {
40 return false;
41 }
42
43 bool ResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest(
44 net::URLRequest* request,
45 net::SSLCertRequestInfo* cert_request_info) {
46 return false;
47 }
48
49 bool ResourceDispatcherHostDelegate::AcceptAuthRequest(
50 net::URLRequest* request, net::AuthChallengeInfo* auth_info) {
51 return false;
52 }
53
54 ResourceDispatcherHostLoginDelegate*
55 ResourceDispatcherHostDelegate::CreateLoginDelegate(
56 net::AuthChallengeInfo* auth_info, net::URLRequest* request) {
57 return NULL;
58 }
59
60 void ResourceDispatcherHostDelegate::HandleExternalProtocol(const GURL& url,
61 int child_id,
62 int route_id) {
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698