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

Issue 2742013002: Don't skip ARC ToS due to policies if ArcEnabled is not managed (Closed)

Created:
3 years, 9 months ago by emaxx
Modified:
3 years, 9 months ago
Reviewers:
hidehiko
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't skip ARC ToS due to policies if ArcEnabled is not managed This fixes unintentional change made in commit 13c620a0df3f13dfb9f43c92faf2b608e0c63215 that made the ARC Terms of Service screen being skipped when only ArcBackupRestoreEnabled and ArcLocationServiceEnabled are managed, while the ARC itself is not. That was an incorrect change, because the user must consent with ARC Terms when ArcEnabled is not set via policy. This CL changes this back to the original behavior that was introduced in commit f392d837d227d79a9b8dec1d298e9c562929c7cf, that is: > Skip the ARC initial screen during provision when there is nothing > to be requested from the user on that screen, i.e. when the following > conditions are all true: > 1. ArcEnabled policy is set to true; > 2. ArcBackupRestoreEnabled policy is set to some value; > 3. ArcLocationServiceEnabled policy is set to some value. The unit tests are now extended to cover this piece of logic. BUG=657687 BUG=b/31079732 TEST=new unit tests Review-Url: https://codereview.chromium.org/2742013002 Cr-Commit-Position: refs/heads/master@{#456302} Committed: https://chromium.googlesource.com/chromium/src/+/12fb4ebfdafb2660d75e85b8b4d233fd3cfe1507

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -13 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager_unittest.cc View 4 chunks +23 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
emaxx
Hidehiko, PTAL.
3 years, 9 months ago (2017-03-10 16:51:55 UTC) #4
hidehiko
lgtm
3 years, 9 months ago (2017-03-12 16:18:10 UTC) #7
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/2742013002/1
3 years, 9 months ago (2017-03-12 16:22:48 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-12 16:56:34 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/12fb4ebfdafb2660d75e85b8b4d2...

Powered by Google App Engine
This is Rietveld 408576698