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

Issue 2403053003: Remove unused email from install attributes and add support for AD. (Closed)

Created:
4 years, 2 months ago by Thiemo Nagel
Modified:
4 years, 2 months ago
Reviewers:
achuithb, emaxx
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, dkrahn+watch_chromium.org, michaelpg+watch-options_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org, Mattias Nissler (ping if slow), Roman Sorokin (ftl)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused email from install attributes and add support for AD. Notable changes: * Simplify attribute accessors by ensuring that attribute members are always self-consistent. * Drop distinction between unset and empty attributes. * Strict enforcement of *all* attributes being identical on re-locking. * IsEnterpriseDevice() evaluates the device mode instead of the (deprecated) user. * Improve encapsulation of StubInstallAttributes by disabling direct member access, provide high-level setters instead. BUG=639295, 638713 TBR=achuith (chrome/browser/chromeos/{app_mode,login,system}) TBR=reillyg (chrome/browser/extensions) TBR=eroman (chrome/browser/net) TBR=bauerb (chrome/browser/ui/webui) Committed: https://crrev.com/42d7ea0a129585044fa4461e7d581ad88e4525dc Cr-Commit-Position: refs/heads/master@{#424994}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Maksim's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -361 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl_unittest.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/blocking_login_browsertest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector_browsertest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/enrollment_handler_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/settings/install_attributes.h View 8 chunks +42 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/settings/install_attributes.cc View 1 16 chunks +155 lines, -146 lines 0 comments Download
M chrome/browser/chromeos/settings/install_attributes_unittest.cc View 10 chunks +72 lines, -64 lines 0 comments Download
M chrome/browser/chromeos/settings/stub_install_attributes.h View 1 2 chunks +23 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/settings/stub_install_attributes.cc View 1 1 chunk +40 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/system/device_disabling_manager_unittest.cc View 1 8 chunks +31 lines, -47 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc View 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc View 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/net/errorpage_browsertest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_constants.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 64 (56 generated)
Thiemo Nagel
Hi Maksim, could you please take a look? Thank you, Thiemo
4 years, 2 months ago (2016-10-11 13:44:59 UTC) #40
Thiemo Nagel
+mnissler, +rsorokin FYI
4 years, 2 months ago (2016-10-11 13:47:18 UTC) #42
emaxx
lgtm in general (at least according to my knowledge of the install attributes). https://codereview.chromium.org/2403053003/diff/180001/chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc File ...
4 years, 2 months ago (2016-10-11 17:26:37 UTC) #45
Thiemo Nagel
Thanks a lot, Maksim. I've addressed your comments in a new upload. https://codereview.chromium.org/2403053003/diff/180001/chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc ...
4 years, 2 months ago (2016-10-11 18:23:30 UTC) #48
Thiemo Nagel
Hi Achuith, may I ask you to take a look at chrome/browser/chromeos/{app_mode,login,system}? Thank you, Thiemo
4 years, 2 months ago (2016-10-11 18:27:56 UTC) #50
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/2403053003/200001
4 years, 2 months ago (2016-10-13 09:23:09 UTC) #59
commit-bot: I haz the power
Committed patchset #2 (id:200001)
4 years, 2 months ago (2016-10-13 10:14:42 UTC) #62
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 10:16:46 UTC) #64
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/42d7ea0a129585044fa4461e7d581ad88e4525dc
Cr-Commit-Position: refs/heads/master@{#424994}

Powered by Google App Engine
This is Rietveld 408576698