OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_HTTP_AUTH_HANDLER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_HTTP_AUTH_HANDLER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "android_webview/browser/aw_http_auth_handler_base.h" |
11 #include "android_webview/browser/aw_login_delegate.h" | 12 #include "android_webview/browser/aw_login_delegate.h" |
12 #include "android_webview/browser/aw_http_auth_handler_base.h" | |
13 #include "base/android/jni_android.h" | 13 #include "base/android/jni_android.h" |
14 #include "base/android/scoped_java_ref.h" | 14 #include "base/android/scoped_java_ref.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class WebContents; | 18 class WebContents; |
19 }; | 19 }; |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class AuthChallengeInfo; | 22 class AuthChallengeInfo; |
(...skipping 24 matching lines...) Expand all Loading... |
47 scoped_refptr<AwLoginDelegate> login_delegate_; | 47 scoped_refptr<AwLoginDelegate> login_delegate_; |
48 base::android::ScopedJavaGlobalRef<jobject> http_auth_handler_; | 48 base::android::ScopedJavaGlobalRef<jobject> http_auth_handler_; |
49 std::string host_; | 49 std::string host_; |
50 std::string realm_; | 50 std::string realm_; |
51 }; | 51 }; |
52 | 52 |
53 bool RegisterAwHttpAuthHandler(JNIEnv* env); | 53 bool RegisterAwHttpAuthHandler(JNIEnv* env); |
54 | 54 |
55 } // namespace android_webview | 55 } // namespace android_webview |
56 | 56 |
57 #endif // ANDROID_WEBVIEW_NATIVE_AW_HTTP_AUTH_HANDLER_H_ | 57 #endif // ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_H_ |
OLD | NEW |