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

Issue 2047613002: [Remoting Android] Move pairing secret fetcher to the network thread (Closed)

Created:
4 years, 6 months ago by Yuwei
Modified:
4 years, 6 months ago
Reviewers:
Lambros
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

JniPairingSecretFetcher currently runs on the UI thread but the secret fetching callback will be run on the network thread. Per wez@'s suggestion it will be more straightforward if the class runs on network thread and post task to UI thread to fetch the secret. Doc: https://docs.google.com/document/d/1ZK-UQSC_rTjNsBa_MFbCmCh3fQRPFuVAwKhWnTZqc_Q/edit?usp=sharing BUG=614242 Committed: https://crrev.com/8d06c0ca4c2784ac15f480bba74956bad5cbe522 Cr-Commit-Position: refs/heads/master@{#398364}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Reviewer's Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -48 lines) Patch
M remoting/client/jni/chromoting_jni_instance.h View 1 chunk +0 lines, -6 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 3 chunks +4 lines, -18 lines 0 comments Download
M remoting/client/jni/jni_client.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M remoting/client/jni/jni_pairing_secret_fetcher.h View 1 2 chunks +12 lines, -8 lines 0 comments Download
M remoting/client/jni/jni_pairing_secret_fetcher.cc View 1 2 chunks +24 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Yuwei
ptal
4 years, 6 months ago (2016-06-07 00:53:01 UTC) #2
Lambros
lgtm Fix phrasing of the CL summary line. Maybe: Move pairing secret fetcher to the ...
4 years, 6 months ago (2016-06-07 01:21:12 UTC) #3
Yuwei
https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_pairing_secret_fetcher.h File remoting/client/jni/jni_pairing_secret_fetcher.h (right): https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_pairing_secret_fetcher.h#newcode37 remoting/client/jni/jni_pairing_secret_fetcher.h:37: base::WeakPtr<JniPairingSecretFetcher> GetWeakPtr(); On 2016/06/07 01:21:12, Lambros wrote: > Can ...
4 years, 6 months ago (2016-06-07 17:36:00 UTC) #6
Yuwei
https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_pairing_secret_fetcher.h File remoting/client/jni/jni_pairing_secret_fetcher.h (right): https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_pairing_secret_fetcher.h#newcode37 remoting/client/jni/jni_pairing_secret_fetcher.h:37: base::WeakPtr<JniPairingSecretFetcher> GetWeakPtr(); On 2016/06/07 01:21:12, Lambros wrote: > Can ...
4 years, 6 months ago (2016-06-07 17:44:26 UTC) #7
Yuwei
https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_client.cc File remoting/client/jni/jni_client.cc (right): https://codereview.chromium.org/2047613002/diff/1/remoting/client/jni/jni_client.cc#newcode70 remoting/client/jni/jni_client.cc:70: secret_fetcher_.release()); On 2016/06/07 01:21:12, Lambros wrote: > Indentation looks ...
4 years, 6 months ago (2016-06-07 18:01:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2047613002/20001
4 years, 6 months ago (2016-06-07 18:02:29 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-07 19:10:30 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 19:13:44 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8d06c0ca4c2784ac15f480bba74956bad5cbe522
Cr-Commit-Position: refs/heads/master@{#398364}

Powered by Google App Engine
This is Rietveld 408576698