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_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "android_webview/browser/aw_contents_io_thread_client.h" | 10 #include "android_webview/browser/aw_contents_io_thread_client.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const net::HttpResponseHeaders* response_headers) override; | 74 const net::HttpResponseHeaders* response_headers) override; |
75 | 75 |
76 private: | 76 private: |
77 bool pending_association_; | 77 bool pending_association_; |
78 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 78 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
79 base::android::ScopedJavaGlobalRef<jobject> bg_thread_client_object_; | 79 base::android::ScopedJavaGlobalRef<jobject> bg_thread_client_object_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(AwContentsIoThreadClientImpl); | 81 DISALLOW_COPY_AND_ASSIGN(AwContentsIoThreadClientImpl); |
82 }; | 82 }; |
83 | 83 |
84 // JNI registration method. | |
85 bool RegisterAwContentsIoThreadClientImpl(JNIEnv* env); | |
86 | |
87 } // namespace android_webview | 84 } // namespace android_webview |
88 | 85 |
89 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ | 86 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_ |
OLD | NEW |