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

Issue 2928513004: cros: Do not initialize gaia portal detector if not loading gaia (Closed)

Created:
3 years, 6 months ago by Qiang(Joe) Xu
Modified:
3 years, 6 months ago
Reviewers:
xiyuan, jdufault
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Do not initialize gaia portal detector if not loading gaia Changes: Early bail out in GaiaScreenHandler::MaybePreloadAuthExtension if should not load gaia, so that portal detector will not get initialized and enabled in this case. BUG=730157 TEST=tested that gaia screen portal detector is not created and used in user session. Review-Url: https://codereview.chromium.org/2928513004 Cr-Commit-Position: refs/heads/master@{#477489} Committed: https://chromium.googlesource.com/chromium/src/+/3d4f038889267bfd326967c840b22166b567c595

Patch Set 1 #

Total comments: 4

Patch Set 2 : feedback #

Total comments: 2

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Qiang(Joe) Xu
Hi all, PTAL thanks! This might not be the right fix. Is that right that ...
3 years, 6 months ago (2017-06-06 21:44:00 UTC) #5
xiyuan
On 2017/06/06 21:44:00, Qiang(Joe) Xu wrote: > Hi all, PTAL thanks! > > This might ...
3 years, 6 months ago (2017-06-06 21:52:17 UTC) #6
xiyuan
https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode247 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:247: !user_manager::UserManager::Get()->IsUserLoggedIn()) { Maybe move ShouldLoadGaia() before this and bail ...
3 years, 6 months ago (2017-06-06 21:54:29 UTC) #7
jdufault
https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode247 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:247: !user_manager::UserManager::Get()->IsUserLoggedIn()) { Add a comment explaining why we need ...
3 years, 6 months ago (2017-06-06 21:58:37 UTC) #8
Qiang(Joe) Xu
PTAL thanks https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/2928513004/diff/1/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode247 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:247: !user_manager::UserManager::Get()->IsUserLoggedIn()) { On 2017/06/06 21:54:29, xiyuan wrote: ...
3 years, 6 months ago (2017-06-06 22:51:09 UTC) #12
xiyuan
lgtm
3 years, 6 months ago (2017-06-06 22:51:54 UTC) #13
xiyuan
On 2017/06/06 22:51:54, xiyuan wrote: > lgtm Please wrap CL description lines, ideally around char ...
3 years, 6 months ago (2017-06-06 22:52:20 UTC) #15
jdufault
lgtm https://codereview.chromium.org/2928513004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/2928513004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode245 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:245: // polls captive portal checking URL if we ...
3 years, 6 months ago (2017-06-06 23:23:01 UTC) #17
Qiang(Joe) Xu
https://codereview.chromium.org/2928513004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/2928513004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode245 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:245: // polls captive portal checking URL if we don't ...
3 years, 6 months ago (2017-06-06 23:46:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2928513004/40001
3 years, 6 months ago (2017-06-06 23:47:27 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 00:39:49 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3d4f038889267bfd326967c840b2...

Powered by Google App Engine
This is Rietveld 408576698