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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/resource_dispatcher_host_delegate.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_delegate.cc (revision 0)
+++ content/browser/renderer_host/resource_dispatcher_host_delegate.cc (revision 0)
@@ -0,0 +1,63 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/renderer_host/resource_dispatcher_host_delegate.h"
+
+ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
+}
+
+ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
+}
+
+bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
+ int child_id, int route_id,
+ const ResourceHostMsg_Request& request_data,
+ const content::ResourceContext& resource_context,
+ const GURL& referrer) {
+ return true;
+}
+
+ResourceHandler* ResourceDispatcherHostDelegate::RequestBeginning(
+ ResourceHandler* handler,
+ net::URLRequest* request,
+ bool is_subresource,
+ int child_id,
+ int route_id) {
+ return handler;
+}
+
+ResourceHandler* ResourceDispatcherHostDelegate::DownloadStarting(
+ ResourceHandler* handler,
+ int child_id,
+ int route_id) {
+ return handler;
+}
+
+bool ResourceDispatcherHostDelegate::ShouldDeferStart(
+ net::URLRequest* request,
+ const content::ResourceContext& resource_context) {
+ return false;
+}
+
+bool ResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest(
+ net::URLRequest* request,
+ net::SSLCertRequestInfo* cert_request_info) {
+ return false;
+}
+
+bool ResourceDispatcherHostDelegate::AcceptAuthRequest(
+ net::URLRequest* request, net::AuthChallengeInfo* auth_info) {
+ return false;
+}
+
+ResourceDispatcherHostLoginDelegate*
+ ResourceDispatcherHostDelegate::CreateLoginDelegate(
+ net::AuthChallengeInfo* auth_info, net::URLRequest* request) {
+ return NULL;
+}
+
+void ResourceDispatcherHostDelegate::HandleExternalProtocol(const GURL& url,
+ int child_id,
+ int route_id) {
+}
Property changes on: content\browser\renderer_host\resource_dispatcher_host_delegate.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698