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

Issue 2694933003: Return management state without retrieving the management domain if the (Closed)

Created:
3 years, 10 months ago by Marton Hunyady
Modified:
3 years, 10 months ago
Reviewers:
Thiemo Nagel
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Return management state without querying the domain. This fixes the problem that for Active Directory managed devices ProfilePolicyConnector::IsManaged returned false. (The original issue that ProfilePolicyConnector::GetManagementDomain is an empty string for AD-managed devices is crbug.com/692104.) BUG=692107 Review-Url: https://codereview.chromium.org/2694933003 Cr-Commit-Position: refs/heads/master@{#451353} Committed: https://chromium.googlesource.com/chromium/src/+/1892aaff7ccf6ad63b3e36d402a039d95db06c5d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add special_user_policy_provider case #

Total comments: 2

Patch Set 3 : Extract redundant logic into GetActualPolicyStore #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -12 lines) Patch
M chrome/browser/policy/profile_policy_connector.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector.cc View 1 2 1 chunk +20 lines, -12 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
Marton Hunyady
3 years, 10 months ago (2017-02-14 16:50:26 UTC) #3
Thiemo Nagel
https://codereview.chromium.org/2694933003/diff/1/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/2694933003/diff/1/chrome/browser/policy/profile_policy_connector.cc#newcode159 chrome/browser/policy/profile_policy_connector.cc:159: return !GetManagementDomain().empty(); I'd suggest to use the store also ...
3 years, 10 months ago (2017-02-14 17:06:03 UTC) #5
Marton Hunyady
https://codereview.chromium.org/2694933003/diff/1/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/2694933003/diff/1/chrome/browser/policy/profile_policy_connector.cc#newcode159 chrome/browser/policy/profile_policy_connector.cc:159: return !GetManagementDomain().empty(); On 2017/02/14 17:06:03, Thiemo Nagel (slow) wrote: ...
3 years, 10 months ago (2017-02-14 19:22:17 UTC) #10
Thiemo Nagel
https://codereview.chromium.org/2694933003/diff/20001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/2694933003/diff/20001/chrome/browser/policy/profile_policy_connector.cc#newcode159 chrome/browser/policy/profile_policy_connector.cc:159: #if defined(OS_CHROMEOS) Nit: Instead of duplicating that code, I'd ...
3 years, 10 months ago (2017-02-15 16:23:03 UTC) #13
Marton Hunyady
https://codereview.chromium.org/2694933003/diff/20001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/2694933003/diff/20001/chrome/browser/policy/profile_policy_connector.cc#newcode159 chrome/browser/policy/profile_policy_connector.cc:159: #if defined(OS_CHROMEOS) On 2017/02/15 16:23:03, Thiemo Nagel wrote: > ...
3 years, 10 months ago (2017-02-15 20:13:55 UTC) #16
Thiemo Nagel
Lgtm! Nit: Please don't split the commit's subject line over two lines, this is highly ...
3 years, 10 months ago (2017-02-16 11:54:31 UTC) #19
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/2694933003/40001
3 years, 10 months ago (2017-02-17 18:05:32 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 19:27:25 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1892aaff7ccf6ad63b3e36d402a0...

Powered by Google App Engine
This is Rietveld 408576698