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

Unified Diff: android_webview/embeddedtestserver/java/src/org/chromium/net/test/CustomHandlers.java

Issue 2687573002: [Android Webview] Refactor LoadUrlTest and work on embedded_test_server custom handler (Closed)
Patch Set: ready Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/embeddedtestserver/java/src/org/chromium/net/test/CustomHandlers.java
diff --git a/android_webview/embeddedtestserver/java/src/org/chromium/net/test/CustomHandlers.java b/android_webview/embeddedtestserver/java/src/org/chromium/net/test/CustomHandlers.java
new file mode 100644
index 0000000000000000000000000000000000000000..4575ce8a648ad5658dc10fd3eb647f481c2f9be2
--- /dev/null
+++ b/android_webview/embeddedtestserver/java/src/org/chromium/net/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.net.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("net::test")
+public class CustomHandlers {
+ public long[] getHandlers() {
+ return nativeGetHandlers();
+ }
+
+ 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
+}

Powered by Google App Engine
This is Rietveld 408576698