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

Issue 1829703002: Add ArcEnabled policy implementation (Closed)

Created:
4 years, 9 months ago by Polina Bondarenko
Modified:
4 years, 8 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, hashimoto+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, khmel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ArcEnabled policy implementation Hide "ARC OptIn" control from Chrome:Settings for enterprise users, map ArcEnabled policy to ArcEnabled pref. BUG=582440 TEST=browser_tests --gtest_filter=ArcPolicyTest* TBR=jochen@chromium.org,dbeam@chromium.org,tnagel@chromium.org,hashimoto@chromium.org Committed: https://crrev.com/e40ccc1743bbf43418970bc259e394ca99cb708d Cr-Commit-Position: refs/heads/master@{#384912}

Patch Set 1 : Initial commit. #

Patch Set 2 : Fixed test and removed all changes from arc_auth_service #

Total comments: 4

Patch Set 3 : Fixed comments. #

Patch Set 4 : Rebase #

Patch Set 5 : Merged with https://codereview.chromium.org/1852843003/ #

Total comments: 4

Patch Set 6 : Fixed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -50 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/policy/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 2 chunks +90 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/guest_mode_options_browsertest.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M components/arc.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_bootstrap.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/arc_bridge_service_unittest.cc View 2 chunks +1 line, -33 lines 0 comments Download
M components/arc/arc_service_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/arc/arc_service_manager.cc View 1 2 3 4 chunks +25 lines, -3 lines 0 comments Download
A components/arc/test/fake_arc_bridge_bootstrap.h View 1 chunk +34 lines, -0 lines 0 comments Download
A components/arc/test/fake_arc_bridge_bootstrap.cc View 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/1
4 years, 9 months ago (2016-03-23 15:02:58 UTC) #2
commit-bot: I haz the power
Dry run: 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/160060)
4 years, 9 months ago (2016-03-23 15:12:30 UTC) #4
Polina Bondarenko
Hi, PTAL. The first patch is an initial reverted CL https://codereview.chromium.org/1684063002/ I removed any changes ...
4 years, 9 months ago (2016-03-23 15:46:49 UTC) #8
hidehiko
On 2016/03/23 15:46:49, Polina Bondarenko wrote: > Hi, > PTAL. > The first patch is ...
4 years, 9 months ago (2016-03-24 07:17:17 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/40001
4 years, 9 months ago (2016-03-24 10:10:09 UTC) #11
Polina Bondarenko
bartfab@chromium.org: Please review changes in policy_browsertests.cc The initial commit has been reverted due to HWTest ...
4 years, 9 months ago (2016-03-24 10:18:03 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-24 11:16:47 UTC) #16
bartfab (slow)
lgtm https://codereview.chromium.org/1829703002/diff/40001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1829703002/diff/40001/chrome/browser/policy/policy_browsertest.cc#newcode199 chrome/browser/policy/policy_browsertest.cc:199: #include "chromeos/chromeos_switches.h" Nit: No longer used. https://codereview.chromium.org/1829703002/diff/40001/components/arc/arc_service_manager.cc File ...
4 years, 8 months ago (2016-04-01 10:41:19 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/80001
4 years, 8 months ago (2016-04-01 11:05:07 UTC) #19
Polina Bondarenko
Fixed comments. https://codereview.chromium.org/1829703002/diff/40001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1829703002/diff/40001/chrome/browser/policy/policy_browsertest.cc#newcode199 chrome/browser/policy/policy_browsertest.cc:199: #include "chromeos/chromeos_switches.h" On 2016/04/01 10:41:18, bartfab (slow) ...
4 years, 8 months ago (2016-04-01 11:05:10 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/189660)
4 years, 8 months ago (2016-04-01 12:32:29 UTC) #22
bartfab (slow)
Still LGTM
4 years, 8 months ago (2016-04-01 14:50:56 UTC) #23
hidehiko
On 2016/04/01 14:50:56, bartfab (slow) wrote: > Still LGTM The latest test looks failing. Could ...
4 years, 8 months ago (2016-04-01 16:03:25 UTC) #24
Polina Bondarenko
On 2016/04/01 16:03:25, hidehiko wrote: > On 2016/04/01 14:50:56, bartfab (slow) wrote: > > Still ...
4 years, 8 months ago (2016-04-01 21:15:31 UTC) #25
Polina Bondarenko
On 2016/04/01 21:15:31, Polina Bondarenko wrote: > On 2016/04/01 16:03:25, hidehiko wrote: > > On ...
4 years, 8 months ago (2016-04-01 21:18:04 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/100001
4 years, 8 months ago (2016-04-04 11:40:36 UTC) #28
Polina Bondarenko
On 2016/04/04 11:40:36, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 8 months ago (2016-04-04 11:46:15 UTC) #29
Polina Bondarenko
4 years, 8 months ago (2016-04-04 11:46:55 UTC) #30
bartfab (slow)
https://codereview.chromium.org/1829703002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/1829703002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode230 chrome/browser/chromeos/arc/arc_auth_service.cc:230: base::Bind(&ArcAuthService::OnOptInPreferenceChanged, Nit: #include "base/bind.h" https://codereview.chromium.org/1829703002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode231 chrome/browser/chromeos/arc/arc_auth_service.cc:231: base::Unretained(this))); Nit: #include ...
4 years, 8 months ago (2016-04-04 11:57:03 UTC) #31
Polina Bondarenko
Fixed comments. https://codereview.chromium.org/1829703002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/1829703002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode230 chrome/browser/chromeos/arc/arc_auth_service.cc:230: base::Bind(&ArcAuthService::OnOptInPreferenceChanged, On 2016/04/04 11:57:03, bartfab (slow) wrote: ...
4 years, 8 months ago (2016-04-04 12:03:21 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/120001
4 years, 8 months ago (2016-04-04 12:03:43 UTC) #34
bartfab (slow)
lgtm
4 years, 8 months ago (2016-04-04 12:51:44 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 13:18:12 UTC) #37
Polina Bondarenko
Hi hidehiko@, PTAL at changes in arc_auth_service* files.
4 years, 8 months ago (2016-04-04 14:41:13 UTC) #38
hidehiko
lgtm lgtm
4 years, 8 months ago (2016-04-04 15:18:26 UTC) #39
hidehiko
lgtm
4 years, 8 months ago (2016-04-04 15:18:26 UTC) #40
Polina Bondarenko
On 2016/04/04 15:18:26, hidehiko wrote: > lgtm Thanks for reviewing this CL!
4 years, 8 months ago (2016-04-04 15:23:49 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829703002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829703002/120001
4 years, 8 months ago (2016-04-04 15:24:20 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 8 months ago (2016-04-04 15:32:49 UTC) #45
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 15:33:58 UTC) #47
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e40ccc1743bbf43418970bc259e394ca99cb708d
Cr-Commit-Position: refs/heads/master@{#384912}

Powered by Google App Engine
This is Rietveld 408576698