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