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 "chrome/browser/ui/login/login_prompt.h" | 5 #include "chrome/browser/ui/login/login_prompt.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
8 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/ui/views/login_view.h" | 10 #include "chrome/browser/ui/views/login_view.h" |
10 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
11 #include "components/constrained_window/constrained_window_views.h" | 12 #include "components/constrained_window/constrained_window_views.h" |
12 #include "components/password_manager/core/browser/password_manager.h" | 13 #include "components/password_manager/core/browser/password_manager.h" |
13 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/browser/render_view_host.h" | 15 #include "content/public/browser/render_view_host.h" |
15 #include "content/public/browser/render_widget_host.h" | 16 #include "content/public/browser/render_widget_host.h" |
16 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 }; | 144 }; |
144 | 145 |
145 namespace chrome { | 146 namespace chrome { |
146 | 147 |
147 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, | 148 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, |
148 net::URLRequest* request) { | 149 net::URLRequest* request) { |
149 return new LoginHandlerViews(auth_info, request); | 150 return new LoginHandlerViews(auth_info, request); |
150 } | 151 } |
151 | 152 |
152 } // namespace chrome | 153 } // namespace chrome |
OLD | NEW |