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

Side by Side Diff: android_webview/native/aw_contents_background_thread_client.cc

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "android_webview/native/aw_contents_background_thread_client.h"
6
7 #include "jni/AwContentsBackgroundThreadClient_jni.h"
8
9 using base::android::JavaRef;
10
11 namespace android_webview {
12
13 // static
14 base::android::ScopedJavaLocalRef<jobject>
15 AwContentsBackgroundThreadClient::shouldInterceptRequest(
16 JNIEnv* env,
17 const JavaRef<jobject>& obj,
18 const JavaRef<jstring>& url,
19 jboolean isMainFrame,
20 jboolean hasUserGesture,
21 const JavaRef<jstring>& method,
22 const JavaRef<jobjectArray>& requestHeaderNames,
23 const JavaRef<jobjectArray>& requestHeaderValues) {
24 return Java_AwContentsBackgroundThreadClient_shouldInterceptRequestFromNative(
25 env, obj, url, isMainFrame, hasUserGesture, method, requestHeaderNames,
26 requestHeaderValues);
27 }
28
29 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698