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

Issue 2756443003: arc: Update device owner check implementation (Closed)

Created:
3 years, 9 months ago by abhishekbh
Modified:
3 years, 9 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, cbentzel+watch_chromium.org, yusukes+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, hidehiko+watch_chromium.org, sdefresne+watchlist_chromium.org, net-reviews_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, abhishekbh_chromium.org, Kevin Cernekee, Sameer Nanda
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Update device owner check implementation Update the device owner check to compare the account id of the active user with the account id of the owner as provided by the user manager API. The old implementation uses the logged in user state API which for unbeknownst reasons returns the owner as a regular user. It can also change asynchronously at boot resulting in racy behavior as its used right now. BUG=b:34661187 BUG=b:33488433 TEST=run cts -c android.net.wifi.cts.WifiEnterpriseConfigTest -m testAddEapNetwork TEST=run cts -c android.net.wifi.cts.WifiManagerTest -m testWifiManagerNetWork Review-Url: https://codereview.chromium.org/2756443003 Cr-Commit-Position: refs/heads/master@{#457563} Committed: https://chromium.googlesource.com/chromium/src/+/eb260ae77f464ec4b53627278b9e842cafb3490e

Patch Set 1 #

Total comments: 5

Patch Set 2 : Update deps order, commit message and add comments #

Total comments: 3

Patch Set 3 : Remove chrome dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M components/arc/net/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/net/arc_net_host_impl.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Kevin Cernekee
https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS#newcode5 components/arc/net/DEPS:5: "+chrome/browser/chromeos/login/users", Do these need to be alphabetized?
3 years, 9 months ago (2017-03-16 04:15:27 UTC) #3
xiyuan
https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS#newcode5 components/arc/net/DEPS:5: "+chrome/browser/chromeos/login/users", On 2017/03/16 04:15:27, Kevin Cernekee wrote: > Do ...
3 years, 9 months ago (2017-03-16 05:13:21 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/2756443003/diff/1/components/arc/net/arc_net_host_impl.cc File components/arc/net/arc_net_host_impl.cc (right): https://codereview.chromium.org/2756443003/diff/1/components/arc/net/arc_net_host_impl.cc#newcode50 components/arc/net/arc_net_host_impl.cc:50: chromeos::ChromeUserManager::Get()->GetActiveUser()->GetAccountId(); On 2017/03/16 05:13:21, xiyuan wrote: > I ...
3 years, 9 months ago (2017-03-16 17:14:51 UTC) #5
xiyuan
On 2017/03/16 17:14:51, xiyuan wrote: > lgtm > > https://codereview.chromium.org/2756443003/diff/1/components/arc/net/arc_net_host_impl.cc > File components/arc/net/arc_net_host_impl.cc (right): > ...
3 years, 9 months ago (2017-03-16 17:15:11 UTC) #6
chromium-reviews
Yes. Will do. On Mar 16, 2017 10:15 AM, <xiyuan@chromium.org> wrote: > On 2017/03/16 17:14:51, ...
3 years, 9 months ago (2017-03-16 17:15:38 UTC) #7
abhishekbh
https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/1/components/arc/net/DEPS#newcode5 components/arc/net/DEPS:5: "+chrome/browser/chromeos/login/users", On 2017/03/16 05:13:21, xiyuan wrote: > On 2017/03/16 ...
3 years, 9 months ago (2017-03-16 19:02:38 UTC) #10
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/2756443003/20001
3 years, 9 months ago (2017-03-16 19:03:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/387404) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 9 months ago (2017-03-16 19:09:09 UTC) #13
Luis Héctor Chávez
https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS#newcode2 components/arc/net/DEPS:2: "+chrome/browser/chromeos/login/users", eek, this is not allowed D: (as indicated ...
3 years, 9 months ago (2017-03-16 19:23:38 UTC) #14
xiyuan
https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS#newcode2 components/arc/net/DEPS:2: "+chrome/browser/chromeos/login/users", On 2017/03/16 19:23:38, Luis Héctor Chávez wrote: > ...
3 years, 9 months ago (2017-03-16 19:29:22 UTC) #15
abhishekbh
https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS File components/arc/net/DEPS (right): https://codereview.chromium.org/2756443003/diff/20001/components/arc/net/DEPS#newcode2 components/arc/net/DEPS:2: "+chrome/browser/chromeos/login/users", On 2017/03/16 19:23:38, Luis Héctor Chávez wrote: > ...
3 years, 9 months ago (2017-03-16 20:57:09 UTC) #16
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/2756443003/40001
3 years, 9 months ago (2017-03-16 20:58:08 UTC) #19
Luis Héctor Chávez
lgtm
3 years, 9 months ago (2017-03-16 21:03:13 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 21:36:01 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eb260ae77f464ec4b53627278b9e...

Powered by Google App Engine
This is Rietveld 408576698