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 #ifndef NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ |
6 #define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ | 6 #define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
11 #include "base/native_library.h" | 12 #include "base/native_library.h" |
12 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
13 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
14 #include "net/http/http_auth.h" | 15 #include "net/http/http_auth.h" |
15 | 16 |
16 #if defined(OS_MACOSX) | 17 #if defined(OS_MACOSX) |
17 // The OSX 10.9+ SDKs mark the functions in Kereberos.framework as deprecated, | 18 // The OSX 10.9+ SDKs mark the functions in Kereberos.framework as deprecated, |
18 // so the warnings must be manually suppressed. | 19 // so the warnings must be manually suppressed. |
19 #if defined(MAC_OS_X_VERSION_10_9) && \ | 20 #if defined(MAC_OS_X_VERSION_10_9) && \ |
20 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 21 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 gss_OID gss_oid_; | 289 gss_OID gss_oid_; |
289 GSSAPILibrary* library_; | 290 GSSAPILibrary* library_; |
290 std::string decoded_server_auth_token_; | 291 std::string decoded_server_auth_token_; |
291 ScopedSecurityContext scoped_sec_context_; | 292 ScopedSecurityContext scoped_sec_context_; |
292 bool can_delegate_; | 293 bool can_delegate_; |
293 }; | 294 }; |
294 | 295 |
295 } // namespace net | 296 } // namespace net |
296 | 297 |
297 #endif // NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ | 298 #endif // NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_ |
OLD | NEW |