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

Issue 1415683013: Let AutoConnectHandler wait for user policy before disconnecting (Closed)

Created:
5 years, 1 month ago by fqj
Modified:
5 years, 1 month ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, pneubeck (no reviews)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let AutoConnectHandler wait for user policy before disconnecting AutoConnectHandler didn't wait for user policy before disconnecting from unmanaged network. This will lead to user policy not downloaded or applied. This commit make AutoConnectHandler to wait for user policy first before disconnecting from unmanaged network if device policy requires to do so. BUG=553497 Committed: https://crrev.com/ece043573566d4759b9c0e6756747dc4d1ecec40 Cr-Commit-Position: refs/heads/master@{#358730}

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 8

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M chromeos/network/auto_connect_handler.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/auto_connect_handler.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M chromeos/network/auto_connect_handler_unittest.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
fqj
PTAL.
5 years, 1 month ago (2015-11-09 09:58:49 UTC) #2
stevenjb
Please add an issue for this (BUG=)
5 years, 1 month ago (2015-11-09 17:40:06 UTC) #3
stevenjb
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); I assume device policy is guaranteed to already ...
5 years, 1 month ago (2015-11-09 17:42:53 UTC) #4
cschuet (SLOW)
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 17:42:53, stevenjb wrote: > I assume ...
5 years, 1 month ago (2015-11-09 17:44:38 UTC) #6
cschuet (SLOW)
On 2015/11/09 17:44:38, cschuet wrote: > https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc > File chromeos/network/auto_connect_handler.cc (right): > > https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 > ...
5 years, 1 month ago (2015-11-09 17:52:24 UTC) #7
cschuet (SLOW)
5 years, 1 month ago (2015-11-09 17:52:31 UTC) #8
stevenjb
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 17:44:38, cschuet wrote: > On 2015/11/09 ...
5 years, 1 month ago (2015-11-09 18:05:52 UTC) #10
stevenjb
On 2015/11/09 17:52:24, cschuet wrote: > On 2015/11/09 17:44:38, cschuet wrote: > > > https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc ...
5 years, 1 month ago (2015-11-09 18:06:42 UTC) #11
fqj
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 18:05:51, stevenjb wrote: > On 2015/11/09 ...
5 years, 1 month ago (2015-11-09 18:26:20 UTC) #12
fqj
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 18:05:51, stevenjb wrote: > On 2015/11/09 ...
5 years, 1 month ago (2015-11-09 18:26:20 UTC) #13
stevenjb
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 18:26:20, fqj wrote: > On 2015/11/09 ...
5 years, 1 month ago (2015-11-09 18:43:50 UTC) #14
fqj
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode203 chromeos/network/auto_connect_handler.cc:203: return; On 2015/11/09 18:43:50, stevenjb wrote: > Merge this ...
5 years, 1 month ago (2015-11-09 18:50:08 UTC) #16
cschuet (SLOW)
https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/20001/chromeos/network/auto_connect_handler.cc#newcode107 chromeos/network/auto_connect_handler.cc:107: DisconnectIfPolicyRequires(); On 2015/11/09 18:43:50, stevenjb wrote: > On 2015/11/09 ...
5 years, 1 month ago (2015-11-09 18:54:44 UTC) #17
stevenjb
lgtm w/ nit https://codereview.chromium.org/1415683013/diff/60001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/60001/chromeos/network/auto_connect_handler.cc#newcode201 chromeos/network/auto_connect_handler.cc:201: return; Add {}
5 years, 1 month ago (2015-11-09 18:56:11 UTC) #18
fqj
Hi cschuet, please have a look at current comments. https://codereview.chromium.org/1415683013/diff/60001/chromeos/network/auto_connect_handler.cc File chromeos/network/auto_connect_handler.cc (right): https://codereview.chromium.org/1415683013/diff/60001/chromeos/network/auto_connect_handler.cc#newcode201 chromeos/network/auto_connect_handler.cc:201: ...
5 years, 1 month ago (2015-11-09 19:00:50 UTC) #19
cschuet (SLOW)
On 2015/11/09 19:00:50, fqj wrote: > Hi cschuet, > please have a look at current ...
5 years, 1 month ago (2015-11-09 21:54:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415683013/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415683013/80001
5 years, 1 month ago (2015-11-10 00:19:26 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 1 month ago (2015-11-10 01:27:30 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 01:29:26 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ece043573566d4759b9c0e6756747dc4d1ecec40
Cr-Commit-Position: refs/heads/master@{#358730}

Powered by Google App Engine
This is Rietveld 408576698