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

Issue 2149853004: arc: Implement safe access to ArcAuthService. (Closed)

Created:
4 years, 5 months ago by khmel
Modified:
4 years, 5 months ago
Reviewers:
afakhry, xiyuan
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, yusukes+watch_chromium.org, tapted, tfarina, hidehiko+watch_chromium.org, jam, lhchavez+watch_chromium.org, oshima+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Implement safe access to ArcAuthService. TEST=Extended browser_tests TEST=Manually on device with Arc enabled/disabled. BUG=627137 Committed: https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0 Cr-Commit-Position: refs/heads/master@{#406307}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 7

Patch Set 3 : update browser_Tests #

Total comments: 3

Patch Set 4 : handle AreEphemeralUsersEnabled #

Patch Set 5 : update arc unit tests expectations for not-allowed profiles. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -30 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service_unittest.cc View 1 2 3 4 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.cc View 7 chunks +20 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/users/fake_chrome_user_manager.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_private_api.cc View 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views_browsertest.cc View 1 2 3 6 chunks +45 lines, -7 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (8 generated)
khmel
Hi Xiyuan, PTAL https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (left): https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#oldcode344 chrome/browser/chromeos/arc/arc_auth_service.cc:344: profile_ = profile; Actually this incorrect. ...
4 years, 5 months ago (2016-07-14 23:17:11 UTC) #2
xiyuan
https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode639 chrome/browser/chromeos/arc/arc_auth_service.cc:639: if (!IsAllowed()) On 2016/07/14 23:17:11, khmel wrote: > There ...
4 years, 5 months ago (2016-07-15 17:12:53 UTC) #3
khmel
Thanks Xiyuan for you OOO review :)! PTAL https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc File chrome/browser/ui/app_list/app_list_service_views_browsertest.cc (right): https://codereview.chromium.org/2149853004/diff/20001/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc#newcode231 chrome/browser/ui/app_list/app_list_service_views_browsertest.cc:231: OpenAppInfoDialog(extension_misc::kChromeAppId); ...
4 years, 5 months ago (2016-07-18 20:23:42 UTC) #4
xiyuan
https://codereview.chromium.org/2149853004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2149853004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode61 chrome/browser/chromeos/arc/arc_auth_service.cc:61: bool g_allow_cryptohome_data_ephemeral_user_for_testing = false; On 2016/07/18 20:23:42, khmel wrote: ...
4 years, 5 months ago (2016-07-18 20:59:12 UTC) #5
khmel
PTAL https://codereview.chromium.org/2149853004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2149853004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode61 chrome/browser/chromeos/arc/arc_auth_service.cc:61: bool g_allow_cryptohome_data_ephemeral_user_for_testing = false; On 2016/07/18 20:59:12, xiyuan ...
4 years, 5 months ago (2016-07-18 22:15:11 UTC) #6
xiyuan
lgtm Awesome!
4 years, 5 months ago (2016-07-18 22:23:40 UTC) #9
khmel
Thanks Xiyuan for ideas and review. Hi Ahmed, I need approval for c/b/extensions/api/feedback_private/feedback_private_api.cc PTAL
4 years, 5 months ago (2016-07-18 22:29:16 UTC) #11
khmel
Updated unit_tests expectations. PTAL
4 years, 5 months ago (2016-07-18 23:55:42 UTC) #14
xiyuan
still lgtm
4 years, 5 months ago (2016-07-19 14:42:05 UTC) #15
afakhry
feedback_private_api.cc lgtm.
4 years, 5 months ago (2016-07-19 16:49:21 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/2149853004/80001
4 years, 5 months ago (2016-07-19 16:50:12 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 17:58:48 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 18:00:33 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4b937b462197e87d4ac0c44c0275b7a5350963c0
Cr-Commit-Position: refs/heads/master@{#406307}

Powered by Google App Engine
This is Rietveld 408576698