| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_H_ | 5 #ifndef NET_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_H_ |
| 6 #define NET_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_H_ | 6 #define NET_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stdint.h> |
| 10 |
| 9 #include <cstdint> | 11 #include <cstdint> |
| 10 #include <list> | 12 #include <list> |
| 11 #include <string> | 13 #include <string> |
| 12 | 14 |
| 13 #include "base/android/scoped_java_ref.h" | 15 #include "base/android/scoped_java_ref.h" |
| 14 | 16 |
| 15 // Provides an interface for controlling the DummySpnegoAuthenticator service. | 17 // Provides an interface for controlling the DummySpnegoAuthenticator service. |
| 16 // This includes a basic stub of the Mock GSSAPI library, so that OS independent | 18 // This includes a basic stub of the Mock GSSAPI library, so that OS independent |
| 17 // Negotiate authentication tests can be run on Android. | 19 // Negotiate authentication tests can be run on Android. |
| 18 namespace net { | 20 namespace net { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 std::list<SecurityContextQuery> expected_security_queries_; | 136 std::list<SecurityContextQuery> expected_security_queries_; |
| 135 // Needed to keep the current query alive once it has been pulled from the | 137 // Needed to keep the current query alive once it has been pulled from the |
| 136 // queue. This is simpler than transferring its ownership to Java. | 138 // queue. This is simpler than transferring its ownership to Java. |
| 137 SecurityContextQuery current_query_; | 139 SecurityContextQuery current_query_; |
| 138 }; | 140 }; |
| 139 | 141 |
| 140 } // namespace android | 142 } // namespace android |
| 141 } // namespace net | 143 } // namespace net |
| 142 | 144 |
| 143 #endif // NET_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_DRIVER_H | 145 #endif // NET_ANDROID_DUMMY_SPNEGO_AUTHENTICATOR_DRIVER_H |
| OLD | NEW |