summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-16 00:01:00 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-16 00:01:00 +0000
commitfacc82690a523e5e97b6acda33863631eb2482d3 (patch)
treeca1cec84ed3ea649107569a0568ed234f2f5ffd1 /net/base
parent6920720802ba0bef2908c562b6eedf2eb6762a64 (diff)
downloadchromium_src-facc82690a523e5e97b6acda33863631eb2482d3.zip
chromium_src-facc82690a523e5e97b6acda33863631eb2482d3.tar.gz
chromium_src-facc82690a523e5e97b6acda33863631eb2482d3.tar.bz2
Use the new HostNoBrackets() method in more places.
Note that IP addresses in certificate names are encoded in binary form (octet strings -- 4 octets for IPv4 and 16 octets for IPv6). R=eroman http://crbug.com/12005 TEST=covered by current tests Review URL: http://codereview.chromium.org/113438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/auth.h b/net/base/auth.h
index 6f1383e..b404f7a 100644
--- a/net/base/auth.h
+++ b/net/base/auth.h
@@ -18,7 +18,7 @@ class AuthChallengeInfo :
public:
bool is_proxy; // true for Proxy-Authenticate, false for WWW-Authenticate.
std::wstring host; // the domain name of the server asking for auth
- // (could be the proxy).
+ // (could be the proxy).
std::wstring scheme; // "Basic", "Digest", or whatever other method is used.
std::wstring realm; // the realm provided by the server, if there is one.
@@ -27,7 +27,7 @@ class AuthChallengeInfo :
~AuthChallengeInfo() {}
};
-//Authentication structures
+// Authentication structures
enum AuthState {
AUTH_STATE_DONT_NEED_AUTH,
AUTH_STATE_NEED_AUTH,