OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/http/http_auth_gssapi_posix.h" | 5 #include "net/http/http_auth_gssapi_posix.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/base64.h" | 10 #include "base/base64.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
16 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" |
17 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
18 #include "net/base/net_util.h" | 19 #include "net/base/net_util.h" |
19 #include "net/http/http_auth_multi_round_parse.h" | 20 #include "net/http/http_auth_multi_round_parse.h" |
20 | 21 |
21 // These are defined for the GSSAPI library: | 22 // These are defined for the GSSAPI library: |
22 // Paraphrasing the comments from gssapi.h: | 23 // Paraphrasing the comments from gssapi.h: |
23 // "The implementation must reserve static storage for a | 24 // "The implementation must reserve static storage for a |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 if (rv != OK) { | 866 if (rv != OK) { |
866 LOG(ERROR) << "Problem initializing context. \n" | 867 LOG(ERROR) << "Problem initializing context. \n" |
867 << DisplayExtendedStatus(library_, major_status, minor_status) | 868 << DisplayExtendedStatus(library_, major_status, minor_status) |
868 << '\n' | 869 << '\n' |
869 << DescribeContext(library_, scoped_sec_context_.get()); | 870 << DescribeContext(library_, scoped_sec_context_.get()); |
870 } | 871 } |
871 return rv; | 872 return rv; |
872 } | 873 } |
873 | 874 |
874 } // namespace net | 875 } // namespace net |
OLD | NEW |