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

Issue 19253003: Separate singleton out of ChromotingJNIInstance (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

Separate singleton out of ChromotingJNIInstance Platform prerequisite and intersession components of this class have been culled into the new ChromotingJNI singleton, which holds an instance of ChromotingJNIInstance during each connection. This paves the way for future concurrent sessions support. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211965

Patch Set 1 #

Patch Set 2 : Fix GYP target to compile in singleton source #

Total comments: 10

Patch Set 3 : Add missing checks and fix class names' CamelCase #

Total comments: 16

Patch Set 4 : Move constants into anonymous namespaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -216 lines) Patch
A remoting/client/jni/chromoting_jni.h View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download
A remoting/client/jni/chromoting_jni.cc View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.h View 1 2 3 4 chunks +14 lines, -68 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 chunks +102 lines, -142 lines 0 comments Download
M remoting/client/jni/jni_interface.cc View 1 2 6 chunks +8 lines, -6 lines 0 comments Download
M remoting/remoting.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
solb
7 years, 5 months ago (2013-07-15 18:35:13 UTC) #1
garykac
https://codereview.chromium.org/19253003/diff/7001/remoting/client/jni/chromoting_jni.cc File remoting/client/jni/chromoting_jni.cc (right): https://codereview.chromium.org/19253003/diff/7001/remoting/client/jni/chromoting_jni.cc#newcode66 remoting/client/jni/chromoting_jni.cc:66: const char* auth_token, align args https://codereview.chromium.org/19253003/diff/7001/remoting/client/jni/chromoting_jni.cc#newcode90 remoting/client/jni/chromoting_jni.cc:90: JNIEnv* env ...
7 years, 5 months ago (2013-07-15 21:13:42 UTC) #2
solb
https://codereview.chromium.org/19253003/diff/7001/remoting/client/jni/chromoting_jni.cc File remoting/client/jni/chromoting_jni.cc (right): https://codereview.chromium.org/19253003/diff/7001/remoting/client/jni/chromoting_jni.cc#newcode66 remoting/client/jni/chromoting_jni.cc:66: const char* auth_token, On 2013/07/15 21:13:42, garykac wrote: > ...
7 years, 5 months ago (2013-07-15 21:49:42 UTC) #3
garykac
lgtm
7 years, 5 months ago (2013-07-15 22:04:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/19253003/15001
7 years, 5 months ago (2013-07-15 22:06:19 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=59722
7 years, 5 months ago (2013-07-16 03:42:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/19253003/15001
7 years, 5 months ago (2013-07-16 05:23:34 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=59826
7 years, 5 months ago (2013-07-16 06:19:42 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/19253003/15001
7 years, 5 months ago (2013-07-16 07:43:06 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=59939
7 years, 5 months ago (2013-07-16 09:20:22 UTC) #10
Wez
https://codereview.chromium.org/19253003/diff/15001/remoting/client/jni/chromoting_jni.cc File remoting/client/jni/chromoting_jni.cc (right): https://codereview.chromium.org/19253003/diff/15001/remoting/client/jni/chromoting_jni.cc#newcode22 remoting/client/jni/chromoting_jni.cc:22: JNIEnv* env = base::android::AttachCurrentThread(); nit: Add a comment to ...
7 years, 5 months ago (2013-07-16 13:46:55 UTC) #11
solb
https://codereview.chromium.org/19253003/diff/15001/remoting/client/jni/chromoting_jni.cc File remoting/client/jni/chromoting_jni.cc (right): https://codereview.chromium.org/19253003/diff/15001/remoting/client/jni/chromoting_jni.cc#newcode22 remoting/client/jni/chromoting_jni.cc:22: JNIEnv* env = base::android::AttachCurrentThread(); On 2013/07/16 13:46:56, Wez wrote: ...
7 years, 5 months ago (2013-07-16 19:23:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/19253003/9002
7 years, 5 months ago (2013-07-16 19:32:22 UTC) #13
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=60045
7 years, 5 months ago (2013-07-17 02:37:50 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/19253003/9002
7 years, 5 months ago (2013-07-17 04:08:52 UTC) #15
commit-bot: I haz the power
7 years, 5 months ago (2013-07-17 05:57:55 UTC) #16
Message was sent while issue was closed.
Change committed as 211965

Powered by Google App Engine
This is Rietveld 408576698