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

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host_login_delegate.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "content/common/content_export.h"
11 12
12 // Interface for getting login credentials for HTTP auth requests. When the 13 // Interface for getting login credentials for HTTP auth requests. When the
13 // implementation has the credentials, it shoudl call the Requests's SetAuth 14 // implementation has the credentials, it shoudl call the Requests's SetAuth
14 // method. 15 // method.
15 class ResourceDispatcherHostLoginDelegate 16 class CONTENT_EXPORT ResourceDispatcherHostLoginDelegate
16 : public base::RefCountedThreadSafe<ResourceDispatcherHostLoginDelegate> { 17 : public base::RefCountedThreadSafe<ResourceDispatcherHostLoginDelegate> {
17 public: 18 public:
18 ResourceDispatcherHostLoginDelegate(); 19 ResourceDispatcherHostLoginDelegate();
19 virtual ~ResourceDispatcherHostLoginDelegate(); 20 virtual ~ResourceDispatcherHostLoginDelegate();
20 21
21 // Notify the delegate that the request was cancelled. 22 // Notify the delegate that the request was cancelled.
22 // This function can only be called from the IO thread. 23 // This function can only be called from the IO thread.
23 virtual void OnRequestCancelled(); 24 virtual void OnRequestCancelled();
24 }; 25 };
25 26
26 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE _H_ 27 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_LOGIN_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698