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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_login_delegate.h

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_login_delegate.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_login_delegate.h (revision 0)
+++ content/browser/renderer_host/resource_dispatcher_host_login_delegate.h (revision 0)
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_
+#define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
+
+// Interface for getting login credentials for HTTP auth requests. When the
+// implementation has the credentials, it shoudl call the Requests's SetAuth
+// method.
+class ResourceDispatcherHostLoginDelegate
+ : public base::RefCountedThreadSafe<ResourceDispatcherHostLoginDelegate> {
+ public:
+ ResourceDispatcherHostLoginDelegate();
+ virtual ~ResourceDispatcherHostLoginDelegate();
+
+ // Notify the delegate that the request was cancelled.
+ // This function can only be called from the IO thread.
+ virtual void OnRequestCancelled();
+};
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_
Property changes on: content\browser\renderer_host\resource_dispatcher_host_login_delegate.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698