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 #ifndef NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ | 5 #ifndef NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ |
6 #define NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ | 6 #define NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <gssapi.h> |
| 10 |
9 #include <list> | 11 #include <list> |
10 #include <string> | 12 #include <string> |
11 | 13 |
12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
13 #include "net/http/http_auth_gssapi_posix.h" | 15 #include "net/http/http_auth_gssapi_posix.h" |
14 #include "net/third_party/gssapi/gssapi.h" | |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 namespace test { | 19 namespace test { |
19 | 20 |
20 class GssContextMockImpl { | 21 class GssContextMockImpl { |
21 public: | 22 public: |
22 GssContextMockImpl(); | 23 GssContextMockImpl(); |
23 GssContextMockImpl(const GssContextMockImpl& other); | 24 GssContextMockImpl(const GssContextMockImpl& other); |
24 GssContextMockImpl(const char* src_name, | 25 GssContextMockImpl(const char* src_name, |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // calls. | 185 // calls. |
185 std::list<SecurityContextQuery> expected_security_queries_; | 186 std::list<SecurityContextQuery> expected_security_queries_; |
186 }; | 187 }; |
187 | 188 |
188 } // namespace test | 189 } // namespace test |
189 | 190 |
190 } // namespace net | 191 } // namespace net |
191 | 192 |
192 #endif // NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ | 193 #endif // NET_HTTP_MOCK_GSSAPI_LIBRARY_POSIX_H_ |
193 | 194 |
OLD | NEW |