summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_cache.h
diff options
context:
space:
mode:
authorivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-03 12:33:35 +0000
committerivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-03 12:33:35 +0000
commitbdc5c44ac28ba9d7b1fe97fcc68131ffd2ad97dd (patch)
tree9b94135d3c9f0dd17eeeeb37833c345d6d6b2b9a /net/http/http_auth_cache.h
parent72932ab082ae5aae4a29cb3afd3cb7e43f1a5d69 (diff)
downloadchromium_src-bdc5c44ac28ba9d7b1fe97fcc68131ffd2ad97dd.zip
chromium_src-bdc5c44ac28ba9d7b1fe97fcc68131ffd2ad97dd.tar.gz
chromium_src-bdc5c44ac28ba9d7b1fe97fcc68131ffd2ad97dd.tar.bz2
[cros] Transfer proxy HTTP authentication from login screen into new session.
BUG=chromium-os:20992 TEST=net_unittests: HttpAuthCacheTest.*; Manual: enable proxies on shared networks, open login screen, set a proxy that requires user authentication, add new user; upon sign-in, no additional username/password prompt should appear. Review URL: http://codereview.chromium.org/8083004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_cache.h')
-rw-r--r--net/http/http_auth_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h
index 33ce2a5..a5af644 100644
--- a/net/http/http_auth_cache.h
+++ b/net/http/http_auth_cache.h
@@ -103,6 +103,9 @@ class NET_EXPORT_PRIVATE HttpAuthCache {
HttpAuth::Scheme scheme,
const std::string& auth_challenge);
+ // Copies all entries from |other| cache.
+ void UpdateAllFrom(const HttpAuthCache& other);
+
private:
typedef std::list<Entry> EntryList;
EntryList entries_;