| 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 "base/compiler_specific.h" |
| 10 #include "content/public/browser/resource_dispatcher_host_delegate.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 class ShellResourceDispatcherHostDelegate |
| 15 : public content::ResourceDispatcherHostDelegate { |
| 16 public: |
| 17 ShellResourceDispatcherHostDelegate(); |
| 18 virtual ~ShellResourceDispatcherHostDelegate(); |
| 19 |
| 20 // ResourceDispatcherHostDelegate implementation. |
| 21 virtual bool AcceptAuthRequest(net::URLRequest* request, |
| 22 net::AuthChallengeInfo* auth_info) OVERRIDE; |
| 23 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 24 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| OLD | NEW |