blob: d08cea195d602b951d2ce89963efbf2813e60b2b [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_
#define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_
#include "base/android/scoped_java_ref.h"
namespace android_webview {
class AwContentsBackgroundThreadClient {
public:
static base::android::ScopedJavaLocalRef<jobject> shouldInterceptRequest(
JNIEnv* env,
const base::android::JavaRef<jobject>& obj,
const base::android::JavaRef<jstring>& url,
jboolean isMainFrame,
jboolean hasUserGesture,
const base::android::JavaRef<jstring>& method,
const base::android::JavaRef<jobjectArray>& requestHeaderNames,
const base::android::JavaRef<jobjectArray>& requestHeaderValues);
};
}
#endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_