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

Issue 8586007: Made OAuth token verification and user seession cookie retrieval process robust on transient netw... (Closed)

Created:
9 years, 1 month ago by zel
Modified:
9 years, 1 month ago
Reviewers:
xiyuan, Nikita (slow)
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -176 lines) Patch
M chrome/browser/chromeos/login/login_performer.cc View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 15 chunks +178 lines, -150 lines 3 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
zel
9 years, 1 month ago (2011-11-17 02:14:21 UTC) #1
zel
9 years, 1 month ago (2011-11-17 22:08:38 UTC) #2
xiyuan
http://codereview.chromium.org/8586007/diff/1006/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): http://codereview.chromium.org/8586007/diff/1006/chrome/browser/chromeos/login/login_utils.cc#newcode1 chrome/browser/chromeos/login/login_utils.cc:1: // Use of this source code is governed by ...
9 years, 1 month ago (2011-11-17 22:34:58 UTC) #3
zel
http://codereview.chromium.org/8586007/diff/1006/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): http://codereview.chromium.org/8586007/diff/1006/chrome/browser/chromeos/login/login_utils.cc#newcode1 chrome/browser/chromeos/login/login_utils.cc:1: // Use of this source code is governed by ...
9 years, 1 month ago (2011-11-18 03:53:39 UTC) #4
xiyuan
LGTM
9 years, 1 month ago (2011-11-18 04:05:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/8586007/12001
9 years, 1 month ago (2011-11-18 05:19:09 UTC) #6
commit-bot: I haz the power
Change committed as 110667
9 years, 1 month ago (2011-11-18 06:24:36 UTC) #7
Nikita (slow)
LGTM http://codereview.chromium.org/8586007/diff/12001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): http://codereview.chromium.org/8586007/diff/12001/chrome/browser/chromeos/login/login_utils.cc#newcode256 chrome/browser/chromeos/login/login_utils.cc:256: kOAuthVerificationRestartDelay); verification_count_ is increased below this block. If ...
9 years, 1 month ago (2011-11-22 09:14:39 UTC) #8
Nikita (slow)
9 years, 1 month ago (2011-11-22 09:21:56 UTC) #9
http://codereview.chromium.org/8586007/diff/12001/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/login_utils.cc (right):

http://codereview.chromium.org/8586007/diff/12001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/login_utils.cc:256:
kOAuthVerificationRestartDelay);
On 2011/11/22 09:14:39, Nikita Kostylev wrote:
> verification_count_ is increased below this block.
> If user is constantly offline, we'll be scheduling ContinueVerification() each
> 10s.
> 
> Since we also have handler for OnOnlineStateChanged(), verification_count_++
> should be moved before this block.

Reading it differently, I think that initial idea was to ignore any verification
errors when network is not connected / in captive portal.

I think scheduling ContinueVerification() in block 254-256 might be omitted and
rely on OnOnlineStateChanged() handler. From there on verification_count_ will
be increased since online == true already.

Powered by Google App Engine
This is Rietveld 408576698