OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOST_D
ELEGATE_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOST_D
ELEGATE_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOST_D
ELEGATE_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOST_D
ELEGATE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/shell/browser/shell_resource_dispatcher_host_delegate.h" | 10 #include "content/shell/browser/shell_resource_dispatcher_host_delegate.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class LayoutTestResourceDispatcherHostDelegate | 14 class LayoutTestResourceDispatcherHostDelegate |
15 : public ShellResourceDispatcherHostDelegate { | 15 : public ShellResourceDispatcherHostDelegate { |
16 public: | 16 public: |
17 LayoutTestResourceDispatcherHostDelegate(); | 17 LayoutTestResourceDispatcherHostDelegate(); |
18 virtual ~LayoutTestResourceDispatcherHostDelegate(); | 18 ~LayoutTestResourceDispatcherHostDelegate() override; |
19 | 19 |
20 // ResourceDispatcherHostDelegate implementation. | 20 // ResourceDispatcherHostDelegate implementation. |
21 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 21 ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
22 net::AuthChallengeInfo* auth_info, net::URLRequest* request) override; | 22 net::AuthChallengeInfo* auth_info, |
| 23 net::URLRequest* request) override; |
23 | 24 |
24 private: | 25 private: |
25 DISALLOW_COPY_AND_ASSIGN(LayoutTestResourceDispatcherHostDelegate); | 26 DISALLOW_COPY_AND_ASSIGN(LayoutTestResourceDispatcherHostDelegate); |
26 }; | 27 }; |
27 | 28 |
28 } // namespace content | 29 } // namespace content |
29 | 30 |
30 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOS
T_DELEGATE_H_ | 31 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_RESOURCE_DISPATCHER_HOS
T_DELEGATE_H_ |
OLD | NEW |