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

Side by Side Diff: net/http/http_auth_multi_round_parse.h

Issue 1383613002: [net/http auth] Cleanup. Method names, and constness. Base URL: https://chromium.googlesource.com/chromium/src.git@mock-auth-handler-generalization
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « net/http/http_auth_handler_unittest.cc ('k') | net/http/http_auth_multi_round_parse.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_
6 #define NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_ 6 #define NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/http/http_auth.h" 11 #include "net/http/http_auth.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class HttpAuthChallengeTokenizer; 15 class HttpAuthChallengeTokenizer;
16 16
17 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstRoundChallenge( 17 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstRoundChallenge(
18 const std::string& scheme, 18 const std::string& scheme,
19 HttpAuthChallengeTokenizer* challenge); 19 const HttpAuthChallengeTokenizer& challenge);
20 20
21 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseLaterRoundChallenge( 21 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseLaterRoundChallenge(
22 const std::string& scheme, 22 const std::string& scheme,
23 HttpAuthChallengeTokenizer* challenge, 23 const HttpAuthChallengeTokenizer& challenge,
24 std::string* encoded_token, 24 std::string* encoded_token,
25 std::string* decoded_token); 25 std::string* decoded_token);
26 26
27 } // namespace net 27 } // namespace net
28 28
29 #endif // NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_ 29 #endif // NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_unittest.cc ('k') | net/http/http_auth_multi_round_parse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698