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

Issue 607453004: Android Chromoting: Don't fetch auth token if there's a fetch pending. (Closed)

Created:
6 years, 2 months ago by Lambros
Modified:
6 years, 2 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Android Chromoting: Don't fetch auth token if there's a fetch pending. Currently, the host list is fetched from the main activity's onStart() handler. If onStart() is triggered again during the process of authentication, this could cause an infinite loop of pending requests. Committed: https://crrev.com/f1318ecbfff840702b08eab40d744dc55670610d Cr-Commit-Position: refs/heads/master@{#297088}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M remoting/android/java/src/org/chromium/chromoting/Chromoting.java View 4 chunks +20 lines, -1 line 2 comments Download

Messages

Total messages: 9 (2 generated)
Lambros
6 years, 2 months ago (2014-09-26 21:20:21 UTC) #2
Jamie
https://codereview.chromium.org/607453004/diff/1/remoting/android/java/src/org/chromium/chromoting/Chromoting.java File remoting/android/java/src/org/chromium/chromoting/Chromoting.java (right): https://codereview.chromium.org/607453004/diff/1/remoting/android/java/src/org/chromium/chromoting/Chromoting.java#newcode409 remoting/android/java/src/org/chromium/chromoting/Chromoting.java:409: requestAuthToken(); Does this not also need to be guarded ...
6 years, 2 months ago (2014-09-26 21:31:17 UTC) #3
Lambros
https://codereview.chromium.org/607453004/diff/1/remoting/android/java/src/org/chromium/chromoting/Chromoting.java File remoting/android/java/src/org/chromium/chromoting/Chromoting.java (right): https://codereview.chromium.org/607453004/diff/1/remoting/android/java/src/org/chromium/chromoting/Chromoting.java#newcode409 remoting/android/java/src/org/chromium/chromoting/Chromoting.java:409: requestAuthToken(); On 2014/09/26 21:31:17, Jamie wrote: > Does this ...
6 years, 2 months ago (2014-09-26 22:36:34 UTC) #4
Jamie
lgtm
6 years, 2 months ago (2014-09-27 00:01:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607453004/1
6 years, 2 months ago (2014-09-27 00:05:27 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as 2abdb4711198d08e9820e48a9e909c66a08eaf2c
6 years, 2 months ago (2014-09-27 01:12:52 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-09-27 01:13:23 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f1318ecbfff840702b08eab40d744dc55670610d
Cr-Commit-Position: refs/heads/master@{#297088}

Powered by Google App Engine
This is Rietveld 408576698