Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | |
| 6 #define CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <vector> | |
|
jam
2012/04/04 15:37:03
nit: not needed
Avi (use Gerrit)
2012/04/04 15:41:39
Done.
| |
| 10 | |
| 11 #include "base/compiler_specific.h" | |
| 12 #include "content/public/browser/resource_dispatcher_host_delegate.h" | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 class ShellResourceDispatcherHostDelegate | |
| 17 : public content::ResourceDispatcherHostDelegate { | |
| 18 public: | |
| 19 ShellResourceDispatcherHostDelegate(); | |
| 20 virtual ~ShellResourceDispatcherHostDelegate(); | |
| 21 | |
| 22 // ResourceDispatcherHostDelegate implementation. | |
| 23 virtual bool AcceptAuthRequest(net::URLRequest* request, | |
| 24 net::AuthChallengeInfo* auth_info) OVERRIDE; | |
| 25 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | |
| 26 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | |
| 27 | |
| 28 private: | |
| 29 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate); | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | |
| OLD | NEW |