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

Issue 44083005: policy: Remove UserCloudPolicyManagerFactory's dependency on Profile. (Closed)

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

Description

policy: Remove UserCloudPolicyManagerFactory's dependency on Profile. Changes all relevant occurrences of Profile by BrowserContext. BUG=271392 (dubroy@ for policy_ui, tedchoc@ for signin_manager_android.cc, joi@ for DEPS) R=erg@chromium.org, joaodasilva@chromium.org TBR=dubroy@chromium.org, joi@chromium.org, tedchoc@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233267

Patch Set 1 : #

Patch Set 2 : Rebased. #

Total comments: 1

Patch Set 3 : Integrated changes from other CL. #

Patch Set 4 : Rebased on 49783006. #

Patch Set 5 : Reverted changes to SigninManagerFactory. #

Patch Set 6 : Rebased. #

Total comments: 2

Patch Set 7 : Rebased. #

Patch Set 8 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -83 lines) Patch
M chrome/browser/android/signin/signin_manager_android.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.h View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h View 1 2 5 chunks +31 lines, -23 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc View 1 2 3 4 5 6 4 chunks +39 lines, -38 lines 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_base.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/policy_ui.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pneubeck (no reviews)
early preview
7 years, 1 month ago (2013-10-25 15:18:52 UTC) #1
pneubeck (no reviews)
should be ok for review now.
7 years, 1 month ago (2013-10-30 12:10:11 UTC) #2
Joao da Silva
lgtm but I think you can drop the changes to signin_manager* https://codereview.chromium.org/44083005/diff/240001/chrome/browser/policy/cloud/user_cloud_policy_store.cc File chrome/browser/policy/cloud/user_cloud_policy_store.cc (right): ...
7 years, 1 month ago (2013-11-04 10:02:54 UTC) #3
pneubeck (no reviews)
7 years, 1 month ago (2013-11-04 11:44:31 UTC) #4
Joao da Silva
lgtm https://codereview.chromium.org/44083005/diff/1130001/chrome/browser/ui/webui/policy_ui.cc File chrome/browser/ui/webui/policy_ui.cc (right): https://codereview.chromium.org/44083005/diff/1130001/chrome/browser/ui/webui/policy_ui.cc#newcode493 chrome/browser/ui/webui/policy_ui.cc:493: web_ui()->GetWebContents()->GetBrowserContext()); You could keep the Profile::FromWebUI arg here
7 years, 1 month ago (2013-11-04 12:57:45 UTC) #5
pneubeck (no reviews)
Reverted the changes to SigninManagerFactory.
7 years, 1 month ago (2013-11-04 12:58:11 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/44083005/diff/1130001/chrome/browser/ui/webui/policy_ui.cc File chrome/browser/ui/webui/policy_ui.cc (right): https://codereview.chromium.org/44083005/diff/1130001/chrome/browser/ui/webui/policy_ui.cc#newcode493 chrome/browser/ui/webui/policy_ui.cc:493: web_ui()->GetWebContents()->GetBrowserContext()); On 2013/11/04 12:57:45, Joao da Silva wrote: > ...
7 years, 1 month ago (2013-11-04 13:01:42 UTC) #7
pneubeck (no reviews)
@Elliot, please take a look at this one as well. Thanks.
7 years, 1 month ago (2013-11-04 13:02:24 UTC) #8
Elliot Glaysher
lgtm
7 years, 1 month ago (2013-11-05 01:28:00 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/44083005/1420001
7 years, 1 month ago (2013-11-05 21:48:13 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185477
7 years, 1 month ago (2013-11-05 22:52:10 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/44083005/1800001
7 years, 1 month ago (2013-11-06 09:25:46 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=98530
7 years, 1 month ago (2013-11-06 12:29:32 UTC) #13
pneubeck (no reviews)
7 years, 1 month ago (2013-11-06 14:03:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 manually as r233267 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698