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

Issue 54483004: policy: Remove ProfilePolicyConnector's dependency on other service factories. (Closed)

Created:
7 years, 1 month ago by pneubeck (no reviews)
Modified:
7 years, 1 month ago
Reviewers:
Joao da Silva
CC:
chromium-reviews
Visibility:
Public.

Description

policy: Remove ProfilePolicyConnector's dependency on other service factories. Dependencies to User (via UserManager) and to CloudPolicyManager (via UserCloudPolicyManagerFactory*) are now injected by the ProfilePolicyConnectorFactory. BUG=312660 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232867

Patch Set 1 : #

Patch Set 2 : Keep Profile*. #

Patch Set 3 : Revert IsLoginProfile to IsSigninProfile. #

Patch Set 4 : Rebased. #

Total comments: 6

Patch Set 5 : Addressed comments. #

Total comments: 2

Patch Set 6 : Fix include. #

Patch Set 7 : Fix iOS compilation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -51 lines) Patch
M chrome/browser/policy/profile_policy_connector.h View 1 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector.cc View 1 2 3 4 5 3 chunks +21 lines, -36 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.cc View 1 2 3 4 5 6 4 chunks +33 lines, -8 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector_stub.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
pneubeck (no reviews)
That other CL https://codereview.chromium.org/24153012/ grew just too large, splitting it into reasonable hunks. I verified ...
7 years, 1 month ago (2013-10-31 11:12:45 UTC) #1
pneubeck (no reviews)
On 2013/10/31 11:12:45, pneubeck wrote: > That other CL https://codereview.chromium.org/24153012/ grew just too large, > ...
7 years, 1 month ago (2013-10-31 12:37:28 UTC) #2
pneubeck (no reviews)
good for review.
7 years, 1 month ago (2013-11-04 08:38:23 UTC) #3
Joao da Silva
https://codereview.chromium.org/54483004/diff/220001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/54483004/diff/220001/chrome/browser/policy/profile_policy_connector.cc#newcode22 chrome/browser/policy/profile_policy_connector.cc:22: #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h" not needed, include chrome/browser/policy/cloud/cloud_policy_manager.h instead https://codereview.chromium.org/54483004/diff/220001/chrome/browser/policy/profile_policy_connector.cc#newcode29 chrome/browser/policy/profile_policy_connector.cc:29: ...
7 years, 1 month ago (2013-11-04 09:46:52 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/54483004/diff/220001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/54483004/diff/220001/chrome/browser/policy/profile_policy_connector.cc#newcode22 chrome/browser/policy/profile_policy_connector.cc:22: #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h" On 2013/11/04 09:46:52, Joao da Silva wrote: ...
7 years, 1 month ago (2013-11-04 13:11:52 UTC) #5
Joao da Silva
lgtm after fixing the #include https://codereview.chromium.org/54483004/diff/280001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/54483004/diff/280001/chrome/browser/policy/profile_policy_connector.cc#newcode11 chrome/browser/policy/profile_policy_connector.cc:11: #include "chrome/browser/chromeos/policy/cloud_policy_manager.h" Should be ...
7 years, 1 month ago (2013-11-04 13:17:56 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/54483004/diff/280001/chrome/browser/policy/profile_policy_connector.cc File chrome/browser/policy/profile_policy_connector.cc (right): https://codereview.chromium.org/54483004/diff/280001/chrome/browser/policy/profile_policy_connector.cc#newcode11 chrome/browser/policy/profile_policy_connector.cc:11: #include "chrome/browser/chromeos/policy/cloud_policy_manager.h" On 2013/11/04 13:17:56, Joao da Silva wrote: ...
7 years, 1 month ago (2013-11-04 13:21:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/54483004/390001
7 years, 1 month ago (2013-11-04 13:22:01 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 13:40:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/54483004/570001
7 years, 1 month ago (2013-11-04 14:10:26 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 14:38:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/54483004/750001
7 years, 1 month ago (2013-11-04 15:07:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/54483004/750001
7 years, 1 month ago (2013-11-04 17:45:04 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 01:04:58 UTC) #14
Message was sent while issue was closed.
Change committed as 232867

Powered by Google App Engine
This is Rietveld 408576698