Chromium Code Reviews| Index: android_webview/test/embeddedtestserver/java/src/org/chromium/android_webview/test/CustomHandlers.java |
| diff --git a/android_webview/test/embeddedtestserver/java/src/org/chromium/android_webview/test/CustomHandlers.java b/android_webview/test/embeddedtestserver/java/src/org/chromium/android_webview/test/CustomHandlers.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f7c48f78a56e88afa980ab0947f2b7fd1215906f |
| --- /dev/null |
| +++ b/android_webview/test/embeddedtestserver/java/src/org/chromium/android_webview/test/CustomHandlers.java |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2017 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. |
| + |
| +package org.chromium.android_webview.test; |
| + |
| +import org.chromium.base.annotations.JNINamespace; |
| + |
| +/** |
| + * Java bindings for running a net::test::CustomHandlers. |
| + * |
| + * This should not be used directly. Use {@link CustomHandlers} instead. |
| + */ |
| +@JNINamespace("android_webview::test") |
| +public class CustomHandlers { |
|
jbudorick
2017/03/13 23:32:54
Do you still need this class? It doesn't look like
shenghuazhang
2017/03/17 01:07:15
Oops.. Should have removed this file in this patch
|
| + public long[] getHandlers() { |
| + return nativeGetHandlers(); |
| + } |
| + |
| + private native long[] nativeGetHandlers(); |
| +} |