Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: android_webview/native/aw_web_resource_response_impl.h

Issue 1350553005: [Android WebView] Call shouldInterceptRequest on a background thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Get rid of has_been_killed Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_INTERCEPTED_REQUEST_DATA_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
6 #define ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ 6 #define ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
7 7
8 #include "android_webview/browser/aw_web_resource_response.h" 8 #include "android_webview/browser/net/aw_web_resource_response.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace net { 13 namespace net {
14 class HttpResponseHeaders; 14 class HttpResponseHeaders;
15 } 15 }
16 16
17 namespace android_webview { 17 namespace android_webview {
18 18
(...skipping 19 matching lines...) Expand all
38 base::android::ScopedJavaGlobalRef<jobject> java_object_; 38 base::android::ScopedJavaGlobalRef<jobject> java_object_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponseImpl); 40 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponseImpl);
41 }; 41 };
42 42
43 bool RegisterAwWebResourceResponse(JNIEnv* env); 43 bool RegisterAwWebResourceResponse(JNIEnv* env);
44 44
45 } // namespace android_webview 45 } // namespace android_webview
46 46
47 #endif // ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ 47 #endif // ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698