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

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

Issue 2687573002: [Android Webview] Refactor LoadUrlTest and work on embedded_test_server custom handler (Closed)
Patch Set: John comment & url encode 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/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();
+}

Powered by Google App Engine
This is Rietveld 408576698