diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 21:34:02 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 21:34:02 +0000 |
commit | 6981d96328621a75557dbf843c5aab83bf4f55a3 (patch) | |
tree | 8a95daea7aad9b8bce1ced62fda4068ed296125a /chrome/browser/login_prompt.cc | |
parent | d4e04a67c7f529bc8137c2dc5618e5a8c2123a13 (diff) | |
download | chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.zip chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.tar.gz chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.tar.bz2 |
net: Remove typedef net::URLRequest URLRequest;
BUG=64263
TEST=compiled locally, trybots
Review URL: http://codereview.chromium.org/5384002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/login_prompt.cc')
-rw-r--r-- | chrome/browser/login_prompt.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/chrome/browser/login_prompt.cc b/chrome/browser/login_prompt.cc index 69e0f20..47346c0 100644 --- a/chrome/browser/login_prompt.cc +++ b/chrome/browser/login_prompt.cc @@ -30,9 +30,10 @@ using webkit_glue::PasswordForm; class LoginHandlerImpl; -// Helper to remove the ref from an URLRequest to the LoginHandler. -// Should only be called from the IO thread, since it accesses an URLRequest. -void ResetLoginHandlerForRequest(URLRequest* request) { +// Helper to remove the ref from an net::URLRequest to the LoginHandler. +// Should only be called from the IO thread, since it accesses an +// net::URLRequest. +void ResetLoginHandlerForRequest(net::URLRequest* request) { ResourceDispatcherHostRequestInfo* info = ResourceDispatcherHost::InfoForRequest(request); if (!info) @@ -69,7 +70,7 @@ std::string GetSignonRealm(const GURL& url, // LoginHandler LoginHandler::LoginHandler(net::AuthChallengeInfo* auth_info, - URLRequest* request) + net::URLRequest* request) : handled_auth_(false), dialog_(NULL), auth_info_(auth_info), @@ -351,7 +352,7 @@ void LoginHandler::CloseContentsDeferred() { // This task is run on the UI thread and creates a constrained window with // a LoginView to prompt the user. The response will be sent to LoginHandler, -// which then routes it to the URLRequest on the I/O thread. +// which then routes it to the net::URLRequest on the I/O thread. class LoginDialogTask : public Task { public: LoginDialogTask(const GURL& request_url, @@ -426,7 +427,7 @@ class LoginDialogTask : public Task { handler_->SetPasswordForm(dialog_form); } - // The url from the URLRequest initiating the auth challenge. + // The url from the net::URLRequest initiating the auth challenge. GURL request_url_; // Info about who/where/what is asking for authentication. @@ -443,7 +444,7 @@ class LoginDialogTask : public Task { // Public API LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, - URLRequest* request) { + net::URLRequest* request) { LoginHandler* handler = LoginHandler::Create(auth_info, request); BrowserThread::PostTask( BrowserThread::UI, FROM_HERE, new LoginDialogTask( |