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

Issue 18612018: Restructure chromoting_jni_instance handling of Java strings (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

Restructure chromoting_jni_instance handling of Java strings This also adds some comments to explain how/why things are being done the way they are. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211510

Patch Set 1 #

Patch Set 2 : Rebase on top of issue 18477010 #

Total comments: 67

Patch Set 3 : Connection/disconnection state machine and moar comments #

Total comments: 22

Patch Set 4 : Ensure connect and disconnect are called on the same thread #

Total comments: 18

Patch Set 5 : Fix comment style and clear members on correct threads #

Patch Set 6 : Rebase atop trunk #

Total comments: 20

Patch Set 7 : Documentation and guards against using variables on the wrong thread #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -194 lines) Patch
M remoting/client/jni/chromoting_jni_instance.h View 1 2 3 4 5 6 3 chunks +74 lines, -44 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 5 6 4 chunks +111 lines, -133 lines 2 comments Download
M remoting/client/jni/jni_interface.cc View 1 2 3 4 5 6 3 chunks +37 lines, -17 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
solb
Takes care of Wez's comments, as discussed at https://codereview.chromium.org/18856012/#msg11. (This patchset is constructed to apply ...
7 years, 5 months ago (2013-07-11 04:30:41 UTC) #1
solb
This should once again be in sync to land, but it's still awaiting review.
7 years, 5 months ago (2013-07-11 21:16:27 UTC) #2
Wez
https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc#newcode28 remoting/client/jni/chromoting_jni_instance.cc:28: // The base and networks stacks must be registered ...
7 years, 5 months ago (2013-07-11 22:32:08 UTC) #3
solb
How does this look? https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc#newcode28 remoting/client/jni/chromoting_jni_instance.cc:28: // The base and networks ...
7 years, 5 months ago (2013-07-11 23:59:09 UTC) #4
Wez
https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc#newcode60 remoting/client/jni/chromoting_jni_instance.cc:60: // TODO(solb) detach all threads from JVM On 2013/07/11 ...
7 years, 5 months ago (2013-07-12 00:24:48 UTC) #5
solb
https://codereview.chromium.org/18612018/diff/14001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/14001/remoting/client/jni/chromoting_jni_instance.cc#newcode43 remoting/client/jni/chromoting_jni_instance.cc:43: base::MessageLoop::QuitClosure()); On 2013/07/12 00:24:48, Wez wrote: > AutoThreads don't ...
7 years, 5 months ago (2013-07-12 01:14:21 UTC) #6
Wez
https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/5629499534213120/remoting/client/jni/chromoting_jni_instance.cc#newcode60 remoting/client/jni/chromoting_jni_instance.cc:60: // TODO(solb) detach all threads from JVM On 2013/07/12 ...
7 years, 5 months ago (2013-07-12 01:25:44 UTC) #7
solb
Why did you ping on the crbug thing? It should be all set... https://codereview.chromium.org/18612018/diff/23001/remoting/client/jni/chromoting_jni_instance.cc File ...
7 years, 5 months ago (2013-07-12 02:31:48 UTC) #8
solb
Ping?
7 years, 5 months ago (2013-07-12 19:57:17 UTC) #9
Wez
Looking good. Almost there. :) https://codereview.chromium.org/18612018/diff/33001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/33001/remoting/client/jni/chromoting_jni_instance.cc#newcode42 remoting/client/jni/chromoting_jni_instance.cc:42: // TODO(solb) We shouldn't ...
7 years, 5 months ago (2013-07-12 20:13:41 UTC) #10
solb
https://codereview.chromium.org/18612018/diff/33001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/33001/remoting/client/jni/chromoting_jni_instance.cc#newcode42 remoting/client/jni/chromoting_jni_instance.cc:42: // TODO(solb) We shouldn't really control the managed UI ...
7 years, 5 months ago (2013-07-12 21:10:54 UTC) #11
Wez
LGTM aside from the issue below. Gary, do you want to take one last look? ...
7 years, 5 months ago (2013-07-12 22:48:22 UTC) #12
garykac
lgtm
7 years, 5 months ago (2013-07-12 23:52:32 UTC) #13
solb
https://codereview.chromium.org/18612018/diff/43001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/18612018/diff/43001/remoting/client/jni/chromoting_jni_instance.cc#newcode101 remoting/client/jni/chromoting_jni_instance.cc:101: // asynchronous run, since Java might want it back ...
7 years, 5 months ago (2013-07-12 23:54:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/18612018/43001
7 years, 5 months ago (2013-07-12 23:55:48 UTC) #15
commit-bot: I haz the power
7 years, 5 months ago (2013-07-13 02:52:13 UTC) #16
Message was sent while issue was closed.
Change committed as 211510

Powered by Google App Engine
This is Rietveld 408576698