| 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/strings/string16.h" | 7 #include "base/strings/string16.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/browser/ui/views/login_view.h" | 9 #include "chrome/browser/ui/views/login_view.h" |
| 10 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 ~LoginHandlerViews() override {} | 131 ~LoginHandlerViews() override {} |
| 132 | 132 |
| 133 // The LoginView that contains the user's login information. | 133 // The LoginView that contains the user's login information. |
| 134 LoginView* login_view_; | 134 LoginView* login_view_; |
| 135 | 135 |
| 136 views::Widget* dialog_; | 136 views::Widget* dialog_; |
| 137 | 137 |
| 138 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews); | 138 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 // static | 141 namespace chrome { |
| 142 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, | 142 |
| 143 net::URLRequest* request) { | 143 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, |
| 144 net::URLRequest* request) { |
| 144 return new LoginHandlerViews(auth_info, request); | 145 return new LoginHandlerViews(auth_info, request); |
| 145 } | 146 } |
| 147 |
| 148 } // namespace chrome |
| OLD | NEW |