Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: net/http/http_auth_handler.cc

Issue 28144: Implement the NTLM authentication scheme by porting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final upload before checkin Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_auth_handler.h ('k') | net/http/http_auth_handler_basic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler.cc
===================================================================
--- net/http/http_auth_handler.cc (revision 10666)
+++ net/http/http_auth_handler.cc (working copy)
@@ -12,15 +12,17 @@
HttpAuth::Target target) {
target_ = target;
score_ = -1;
+ properties_ = -1;
bool ok = Init(begin, end);
- // Init() is expected to set the scheme, realm, and score.
+ // Init() is expected to set the scheme, realm, score, and properties. The
+ // realm may be empty.
DCHECK(!ok || !scheme().empty());
- DCHECK(!ok || !realm().empty());
DCHECK(!ok || score_ != -1);
-
+ DCHECK(!ok || properties_ != -1);
+
return ok;
}
-} // namespace net
+} // namespace net
« no previous file with comments | « net/http/http_auth_handler.h ('k') | net/http/http_auth_handler_basic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698