| 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/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "chrome/browser/android/tab_android.h" | 11 #include "chrome/browser/android/tab_android.h" |
| 12 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" | 12 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" |
| 13 #include "chrome/browser/ui/login/login_prompt.h" | 13 #include "chrome/browser/ui/login/login_prompt.h" |
| 14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
| 16 #include "net/base/auth.h" | 16 #include "net/base/auth.h" |
| 17 | 17 |
| 18 using content::BrowserThread; | 18 using content::BrowserThread; |
| 19 using net::URLRequest; | 19 using net::URLRequest; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 private: | 76 private: |
| 77 scoped_ptr<ChromeHttpAuthHandler> chrome_http_auth_handler_; | 77 scoped_ptr<ChromeHttpAuthHandler> chrome_http_auth_handler_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 // static | 80 // static |
| 81 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, | 81 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, |
| 82 net::URLRequest* request) { | 82 net::URLRequest* request) { |
| 83 return new LoginHandlerAndroid(auth_info, request); | 83 return new LoginHandlerAndroid(auth_info, request); |
| 84 } | 84 } |
| OLD | NEW |