summaryrefslogtreecommitdiffstats
path: root/chrome/browser/login_prompt.h
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 06:43:48 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 06:43:48 +0000
commit515838ce76cb8bec7f51f6143cac74f113e247ad (patch)
tree71b70d594974310b35d1c8f7843aeda5717c044b /chrome/browser/login_prompt.h
parent92352a66515fd9a01f538529356ad45870109f28 (diff)
downloadchromium_src-515838ce76cb8bec7f51f6143cac74f113e247ad.zip
chromium_src-515838ce76cb8bec7f51f6143cac74f113e247ad.tar.gz
chromium_src-515838ce76cb8bec7f51f6143cac74f113e247ad.tar.bz2
post-winhttp cleanup: refactor net/base/auth_cache into net/ftp/ftp_auth_cache.
Also moves AuthCache::HttpKey() --> GetSignonRealmKey(). Review URL: http://codereview.chromium.org/18218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/login_prompt.h')
-rw-r--r--chrome/browser/login_prompt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/login_prompt.h b/chrome/browser/login_prompt.h
index 5c7fab9..0e37467 100644
--- a/chrome/browser/login_prompt.h
+++ b/chrome/browser/login_prompt.h
@@ -13,9 +13,10 @@ namespace net {
class AuthChallengeInfo;
}
-class URLRequest;
+class GURL;
class MessageLoop;
class TabContents;
+class URLRequest;
// This is the interface for the class that routes authentication info to
// the URLRequest that needs it. Used by the automation proxy for testing.
@@ -35,6 +36,10 @@ class LoginHandler {
// Notify the handler that the request was cancelled.
// This function can only be called from the IO thread.
virtual void OnRequestCancelled() = 0;
+
+ // Get the signon_realm under which the identity should be saved.
+ static std::string GetSignonRealm(const GURL& url,
+ const net::AuthChallengeInfo& auth_info);
};
// Details to provide the NotificationObserver. Used by the automation proxy