OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "content/shell/shell_resource_dispatcher_host_delegate.h" | 5 #include "content/shell/browser/shell_resource_dispatcher_host_delegate.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "content/shell/browser/shell_login_dialog.h" |
8 #include "content/shell/common/shell_switches.h" | 9 #include "content/shell/common/shell_switches.h" |
9 #include "content/shell/shell_login_dialog.h" | |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 ShellResourceDispatcherHostDelegate::ShellResourceDispatcherHostDelegate() { | 13 ShellResourceDispatcherHostDelegate::ShellResourceDispatcherHostDelegate() { |
14 } | 14 } |
15 | 15 |
16 ShellResourceDispatcherHostDelegate::~ShellResourceDispatcherHostDelegate() { | 16 ShellResourceDispatcherHostDelegate::~ShellResourceDispatcherHostDelegate() { |
17 } | 17 } |
18 | 18 |
19 bool ShellResourceDispatcherHostDelegate::AcceptAuthRequest( | 19 bool ShellResourceDispatcherHostDelegate::AcceptAuthRequest( |
(...skipping 15 matching lines...) Expand all Loading... |
35 | 35 |
36 #if !defined(OS_MACOSX) && !defined(TOOLKIT_GTK) | 36 #if !defined(OS_MACOSX) && !defined(TOOLKIT_GTK) |
37 // TODO: implement ShellLoginDialog for other platforms, drop this #if | 37 // TODO: implement ShellLoginDialog for other platforms, drop this #if |
38 return NULL; | 38 return NULL; |
39 #else | 39 #else |
40 return new ShellLoginDialog(auth_info, request); | 40 return new ShellLoginDialog(auth_info, request); |
41 #endif | 41 #endif |
42 } | 42 } |
43 | 43 |
44 } // namespace content | 44 } // namespace content |
OLD | NEW |