Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 package org.chromium.net.test; | |
| 6 | |
| 7 import org.chromium.base.annotations.JNINamespace; | |
| 8 | |
| 9 /** | |
| 10 * Java bindings for running a net::test::CustomHandlers. | |
| 11 * | |
| 12 * This should not be used directly. Use {@link CustomHandlers} instead. | |
| 13 */ | |
| 14 @JNINamespace("net::test") | |
| 15 public class CustomHandlers { | |
| 16 public long[] getHandlers() { | |
| 17 return nativeGetHandlers(); | |
| 18 } | |
| 19 | |
| 20 private native long[] nativeGetHandlers(); | |
|
jbudorick
2017/03/09 02:00:47
Does this need to be in its own class? Can it be i
shenghuazhang
2017/03/13 18:48:15
Relocated them into AwEmbeddedTestServerImpl and r
| |
| 21 } | |
| OLD | NEW |