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

Issue 18856012: Create new remoting_client_jni target (Closed)

Created:
7 years, 5 months ago by solb
Modified:
7 years, 5 months ago
Reviewers:
garykac, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Create new remoting_client_jni target This will house material analogous to the Pepper implementation remoting_client_plugin, except designed to interface instead with JNI, the Java Native Interface. For now, this folder contains the jni_interface family of functions (which will receive calls FROM Java) and the ChromotingJNIInstance class, which implements ClientUserInterface (while being responsible for calls TO Java). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211073

Patch Set 1 #

Total comments: 17

Patch Set 2 : Eliminate prior stub classes and introduce ChromotingJNIInstance and jni_interface #

Patch Set 3 : Restrict build target to Android OS #

Patch Set 4 : Make ChromotingJNIInstance a singleton #

Patch Set 5 : Add missing virtual keyword to destructor declaration #

Total comments: 8

Patch Set 6 : Gary's recommendations #

Total comments: 40
Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -0 lines) Patch
M build/all_android.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
A remoting/client/jni/OWNERS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A remoting/client/jni/chromoting_jni_instance.h View 1 2 3 4 5 1 chunk +91 lines, -0 lines 20 comments Download
A remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 5 1 chunk +137 lines, -0 lines 20 comments Download
A remoting/client/jni/jni_interface.cc View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
solb
If this passes the trybots and CQ without blowing anything up, we'll be ready to ...
7 years, 5 months ago (2013-07-09 09:41:14 UTC) #1
Wez
https://codereview.chromium.org/18856012/diff/1/build/all_android.gyp File build/all_android.gyp (right): https://codereview.chromium.org/18856012/diff/1/build/all_android.gyp#newcode128 build/all_android.gyp:128: '../remoting/remoting.gyp:remoting_client_jni', I don't think we want this exception - ...
7 years, 5 months ago (2013-07-09 17:34:47 UTC) #2
solb
On 2013/07/09 17:34:47, Wez wrote: > https://codereview.chromium.org/18856012/diff/1/build/all_android.gyp > File build/all_android.gyp (right): > > https://codereview.chromium.org/18856012/diff/1/build/all_android.gyp#newcode128 > ...
7 years, 5 months ago (2013-07-09 19:46:49 UTC) #3
solb
With those stub classes gone, here's a very basic version of ChromotingJNIInstance and its accompanying ...
7 years, 5 months ago (2013-07-10 00:01:19 UTC) #4
solb
On 2013/07/10 00:01:19, solb wrote: > With those stub classes gone, here's a very basic ...
7 years, 5 months ago (2013-07-10 18:41:24 UTC) #5
Wez
tip: If you're adding a message to the CL and it doesn't relate to previous ...
7 years, 5 months ago (2013-07-10 18:43:05 UTC) #6
garykac
lgtm lgtm after nits https://codereview.chromium.org/18856012/diff/33017/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18856012/diff/33017/remoting/client/jni/chromoting_jni_instance.cc#newcode133 remoting/client/jni/chromoting_jni_instance.cc:133: env->DeleteGlobalRef(class_); // TODO(solb) detach all ...
7 years, 5 months ago (2013-07-10 21:56:17 UTC) #7
solb
Wez? https://codereview.chromium.org/18856012/diff/33017/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18856012/diff/33017/remoting/client/jni/chromoting_jni_instance.cc#newcode133 remoting/client/jni/chromoting_jni_instance.cc:133: env->DeleteGlobalRef(class_); // TODO(solb) detach all threads from JVM ...
7 years, 5 months ago (2013-07-10 22:11:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/18856012/50001
7 years, 5 months ago (2013-07-10 22:14:22 UTC) #9
Wez
https://chromiumcodereview.appspot.com/18856012/diff/50001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://chromiumcodereview.appspot.com/18856012/diff/50001/remoting/client/jni/chromoting_jni_instance.cc#newcode22 remoting/client/jni/chromoting_jni_instance.cc:22: // For now, this just gives us access to ...
7 years, 5 months ago (2013-07-11 00:56:22 UTC) #10
solb
This is almost through CQ at this point, and there are other CLs waiting in ...
7 years, 5 months ago (2013-07-11 04:29:04 UTC) #11
commit-bot: I haz the power
7 years, 5 months ago (2013-07-11 11:26:52 UTC) #12
Message was sent while issue was closed.
Change committed as 211073

Powered by Google App Engine
This is Rietveld 408576698