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 |
| 10 #include <memory> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/android/jni_android.h" | 13 #include "base/android/jni_android.h" |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | |
16 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
17 #include "net/http/http_auth.h" | 18 #include "net/http/http_auth.h" |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 | 21 |
21 class HttpAuthChallengeTokenizer; | 22 class HttpAuthChallengeTokenizer; |
22 class HttpAuthPreferences; | 23 class HttpAuthPreferences; |
23 | 24 |
24 namespace android { | 25 namespace android { |
25 | 26 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 130 |
130 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_; | 131 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid); | 133 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace android | 136 } // namespace android |
136 } // namespace net | 137 } // namespace net |
137 | 138 |
138 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ | 139 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ |
OLD | NEW |