OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HTTP_AUTH_NEGOTIATE_ANDROID_H_ | 5 #ifndef NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ |
6 #define NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ | 6 #define NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/android/jni_android.h" | 13 #include "base/android/jni_android.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
| 18 #include "net/base/net_export.h" |
18 #include "net/http/http_auth.h" | 19 #include "net/http/http_auth.h" |
19 | 20 |
20 namespace net { | 21 namespace net { |
21 | 22 |
22 class HttpAuthChallengeTokenizer; | 23 class HttpAuthChallengeTokenizer; |
23 class HttpAuthPreferences; | 24 class HttpAuthPreferences; |
24 | 25 |
25 namespace android { | 26 namespace android { |
26 | 27 |
27 // This class provides a threadsafe wrapper for SetResult, which is called from | 28 // This class provides a threadsafe wrapper for SetResult, which is called from |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 131 |
131 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_; | 132 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_; |
132 | 133 |
133 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid); | 134 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid); |
134 }; | 135 }; |
135 | 136 |
136 } // namespace android | 137 } // namespace android |
137 } // namespace net | 138 } // namespace net |
138 | 139 |
139 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ | 140 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ |
OLD | NEW |