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

Issue 1209193003: [Proximity Auth] Create one ProximityAuthClient per profile, rather than one global one. (Closed)

Created:
5 years, 6 months ago by Ilya Sherman
Modified:
5 years, 5 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Proximity Auth] Create one ProximityAuthClient per profile, rather than one global one. BUG=501626 TEST=none R=tengs@chromium.org,mlerman@chromium.org Committed: https://crrev.com/3ead4bc4ebb743b3771afb47dbfbd4eb2131ef1b Cr-Commit-Position: refs/heads/master@{#336983}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Dangle from EasyUnlockService instead, and reduce ScreenlockBridge's dependencies #

Patch Set 3 : Clean up screenlock_private_api.cc a bit #

Total comments: 5

Patch Set 4 : Add a doc string #

Patch Set 5 : Rebase #

Patch Set 6 : Disable tests on non-ChromeOS, since there's nothing left to test on the other platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -103 lines) Patch
M chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/signin/OWNERS View 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/signin/chrome_proximity_auth_client.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/signin/chrome_proximity_auth_client.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.h View 1 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/proximity_auth_facade.cc View 2 chunks +1 line, -38 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/proximity_auth/ble/proximity_auth_ble_system.h View 6 chunks +7 lines, -10 lines 0 comments Download
M components/proximity_auth/ble/proximity_auth_ble_system.cc View 1 2 3 4 4 chunks +10 lines, -9 lines 0 comments Download
M components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/proximity_auth/proximity_auth_client.h View 1 1 chunk +4 lines, -18 lines 0 comments Download
M components/proximity_auth/screenlock_bridge.h View 1 2 3 4 chunks +5 lines, -11 lines 0 comments Download
M components/proximity_auth/screenlock_bridge.cc View 1 3 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 40 (16 generated)
Ilya Sherman
5 years, 6 months ago (2015-06-26 07:03:11 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209193003/1
5 years, 6 months ago (2015-06-26 07:09:26 UTC) #3
Ilya Sherman
+Mike for chrome/browser/signin OWNERS +Marijn for chrome/browser/extensions OWNERS
5 years, 6 months ago (2015-06-26 07:10:30 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/38384)
5 years, 6 months ago (2015-06-26 08:43:27 UTC) #8
Mike Lerman
A few small comments. Apologies for typos, I'm on my phone on a train. https://chromiumcodereview.appspot.com/1209193003/diff/1/chrome/browser/signin/chrome_proximity_auth_client.cc ...
5 years, 6 months ago (2015-06-26 13:09:51 UTC) #9
Tim Song
https://codereview.chromium.org/1209193003/diff/1/chrome/browser/signin/chrome_proximity_auth_client.h File chrome/browser/signin/chrome_proximity_auth_client.h (right): https://codereview.chromium.org/1209193003/diff/1/chrome/browser/signin/chrome_proximity_auth_client.h#newcode17 chrome/browser/signin/chrome_proximity_auth_client.h:17: public KeyedService { Is there a benefit to making ...
5 years, 6 months ago (2015-06-26 23:46:43 UTC) #10
Ilya Sherman
https://codereview.chromium.org/1209193003/diff/1/chrome/browser/signin/chrome_proximity_auth_client.cc File chrome/browser/signin/chrome_proximity_auth_client.cc (right): https://codereview.chromium.org/1209193003/diff/1/chrome/browser/signin/chrome_proximity_auth_client.cc#newcode25 chrome/browser/signin/chrome_proximity_auth_client.cc:25: return signin_manager->GetAuthenticatedUsername(); On 2015/06/26 13:09:51, Mike Lerman wrote: > ...
5 years, 5 months ago (2015-06-27 08:18:00 UTC) #11
Mike Lerman
https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/signin/chrome_proximity_auth_client.h File chrome/browser/signin/chrome_proximity_auth_client.h (right): https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/signin/chrome_proximity_auth_client.h#newcode15 chrome/browser/signin/chrome_proximity_auth_client.h:15: class ChromeProximityAuthClient : public proximity_auth::ProximityAuthClient { This class really ...
5 years, 5 months ago (2015-06-29 13:41:28 UTC) #12
Ilya Sherman
https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/signin/chrome_proximity_auth_client.h File chrome/browser/signin/chrome_proximity_auth_client.h (right): https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/signin/chrome_proximity_auth_client.h#newcode15 chrome/browser/signin/chrome_proximity_auth_client.h:15: class ChromeProximityAuthClient : public proximity_auth::ProximityAuthClient { On 2015/06/29 13:41:28, ...
5 years, 5 months ago (2015-06-29 18:03:38 UTC) #13
Mike Lerman
Okay. lgtm.
5 years, 5 months ago (2015-06-29 18:04:02 UTC) #14
Tim Song
LGTM :)
5 years, 5 months ago (2015-06-29 18:07:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209193003/40001
5 years, 5 months ago (2015-06-29 18:15:00 UTC) #17
Marijn Kruisselbrink
https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc File chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc (right): https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc#newcode83 chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc:83: service->proximity_auth_client()->GetAuthenticatedUsername()); Can you add a comment to that Unlock ...
5 years, 5 months ago (2015-06-29 18:15:04 UTC) #18
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-29 18:19:08 UTC) #20
Ilya Sherman
https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc File chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc (right): https://codereview.chromium.org/1209193003/diff/40001/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc#newcode83 chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc:83: service->proximity_auth_client()->GetAuthenticatedUsername()); On 2015/06/29 18:15:04, Marijn Kruisselbrink wrote: > Can ...
5 years, 5 months ago (2015-06-30 00:22:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209193003/60001
5 years, 5 months ago (2015-06-30 00:24:54 UTC) #24
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-30 00:28:07 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209193003/80001
5 years, 5 months ago (2015-06-30 00:41:41 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/74832)
5 years, 5 months ago (2015-06-30 00:51:33 UTC) #31
Ilya Sherman
Whoops, sorry, those should have been CQ dry runs. I realized also that I did ...
5 years, 5 months ago (2015-06-30 01:36:58 UTC) #32
Marijn Kruisselbrink
On 2015/06/30 at 01:36:58, isherman wrote: > Whoops, sorry, those should have been CQ dry ...
5 years, 5 months ago (2015-06-30 19:57:42 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209193003/100001
5 years, 5 months ago (2015-07-01 05:11:01 UTC) #38
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-01 06:04:51 UTC) #39
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 06:05:48 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3ead4bc4ebb743b3771afb47dbfbd4eb2131ef1b
Cr-Commit-Position: refs/heads/master@{#336983}

Powered by Google App Engine
This is Rietveld 408576698