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

Unified Diff: net/http/http_auth_handler_negotiate_parse.h

Issue 1128043007: Support Kerberos on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android GN build Created 5 years, 6 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
Index: net/http/http_auth_handler_negotiate_parse.h
diff --git a/net/http/http_auth_handler_negotiate_parse.h b/net/http/http_auth_handler_negotiate_parse.h
new file mode 100644
index 0000000000000000000000000000000000000000..ee1090e59c869b1c7c562bbf58325a5c476130ac
--- /dev/null
+++ b/net/http/http_auth_handler_negotiate_parse.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_
cbentzel 2015/06/30 12:53:55 The "Negotiate" naming part of this isn't accurate
aberent 2015/07/02 21:13:36 Done.
+#define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_
+
+#include <string>
+
+#include "net/base/net_export.h"
+#include "net/http/http_auth.h"
+
+namespace net {
+
+class HttpAuthChallengeTokenizer;
+
+NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstNegotiateChallenge(
+ std::string scheme,
+ HttpAuthChallengeTokenizer* challenge);
+
+NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseAnotherNegotiateChallenge(
+ std::string scheme,
+ HttpAuthChallengeTokenizer* challenge,
+ std::string* encoded_token,
+ std::string* decoded_token);
+
+} // namespace net
+
+#endif // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_

Powered by Google App Engine
This is Rietveld 408576698