| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/file_path.h" | 11 #include "base/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/string_util.h" | 14 #include "base/string_util.h" |
| 15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
| 16 #include "base/thread_restrictions.h" | 16 #include "base/threading/thread_restrictions.h" |
| 17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
| 19 | 19 |
| 20 // These are defined for the GSSAPI library: | 20 // These are defined for the GSSAPI library: |
| 21 // Paraphrasing the comments from gssapi.h: | 21 // Paraphrasing the comments from gssapi.h: |
| 22 // "The implementation must reserve static storage for a | 22 // "The implementation must reserve static storage for a |
| 23 // gss_OID_desc object for each constant. That constant | 23 // gss_OID_desc object for each constant. That constant |
| 24 // should be initialized to point to that gss_OID_desc." | 24 // should be initialized to point to that gss_OID_desc." |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 if (rv != OK) { | 880 if (rv != OK) { |
| 881 LOG(ERROR) << "Problem initializing context. \n" | 881 LOG(ERROR) << "Problem initializing context. \n" |
| 882 << DisplayExtendedStatus(library_, major_status, minor_status) | 882 << DisplayExtendedStatus(library_, major_status, minor_status) |
| 883 << '\n' | 883 << '\n' |
| 884 << DescribeContext(library_, scoped_sec_context_.get()); | 884 << DescribeContext(library_, scoped_sec_context_.get()); |
| 885 } | 885 } |
| 886 return rv; | 886 return rv; |
| 887 } | 887 } |
| 888 | 888 |
| 889 } // namespace net | 889 } // namespace net |
| OLD | NEW |