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

Unified Diff: net/test/embedded_test_server/android/embedded_test_server_android.cc

Issue 1465383003: [Android] Add ChromiumNetTestSupport.apk for the java EmbeddedTestServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +landmine for GN Created 5 years 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
« build/get_landmines.py ('K') | « net/test/android/net_test_entry_point.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/android/embedded_test_server_android.cc
diff --git a/net/test/embedded_test_server/android/embedded_test_server_android.cc b/net/test/embedded_test_server/android/embedded_test_server_android.cc
index 5e6d3fe0f8f6a07a04c5a3523cea39b3e6ec93bc..0f53545b5bf6514885851076c1e1dd3695095026 100644
--- a/net/test/embedded_test_server/android/embedded_test_server_android.cc
+++ b/net/test/embedded_test_server/android/embedded_test_server_android.cc
@@ -9,20 +9,21 @@
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/trace_event/trace_event.h"
-#include "net/test/jni/EmbeddedTestServer_jni.h"
+#include "net/test/jni/EmbeddedTestServerImpl_jni.h"
namespace net {
namespace test_server {
EmbeddedTestServerAndroid::EmbeddedTestServerAndroid(JNIEnv* env, jobject jobj)
: weak_java_server_(env, jobj), test_server_() {
- Java_EmbeddedTestServer_setNativePtr(env, jobj,
- reinterpret_cast<intptr_t>(this));
+ Java_EmbeddedTestServerImpl_setNativePtr(env, jobj,
+ reinterpret_cast<intptr_t>(this));
}
EmbeddedTestServerAndroid::~EmbeddedTestServerAndroid() {
JNIEnv* env = base::android::AttachCurrentThread();
- Java_EmbeddedTestServer_clearNativePtr(env, weak_java_server_.get(env).obj());
+ Java_EmbeddedTestServerImpl_clearNativePtr(env,
+ weak_java_server_.get(env).obj());
}
jboolean EmbeddedTestServerAndroid::Start(JNIEnv* env,
« build/get_landmines.py ('K') | « net/test/android/net_test_entry_point.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698