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

Issue 26972003: Added a policy_switches.cc file in the policy component. (Closed)

Created:
7 years, 2 months ago by Joao da Silva
Modified:
7 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Added a policy_switches.cc file in the policy component. Moved the policy-specific switches into this file, and refactored the policy code to include the new file instead of chrome_switches.cc. This removes one more dependency on //chrome code from the policy code. BUG=271392 R=bauerb@chromium.org, dconnelly@chromium.org, jochen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229084

Patch Set 1 #

Patch Set 2 : added Daniel to components/OWNERS for policy.gypi #

Patch Set 3 : Added missing build_config.h #

Total comments: 3

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -42 lines) Patch
M chrome/browser/policy/cloud/DEPS View 5 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_invalidator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc View 1 chunk +1 line, -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_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.cc View 4 chunks +0 lines, -20 lines 0 comments Download
M components/OWNERS View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/policy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/policy/core/common/policy_pref_names.h View 2 chunks +3 lines, -3 lines 0 comments Download
A components/policy/core/common/policy_switches.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A components/policy/core/common/policy_switches.cc View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Joao da Silva
Please review: dconnelly: the whole thing jochen: components/OWNERS update bauerb: chrome/browser/prefs changes Thanks!
7 years, 2 months ago (2013-10-15 09:56:29 UTC) #1
dconnelly
lgtm
7 years, 2 months ago (2013-10-15 10:05:35 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc File chrome/browser/prefs/command_line_pref_store.cc (right): https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc#newcode78 chrome/browser/prefs/command_line_pref_store.cc:78: { policy::switches::kDisableCloudPolicyOnSignin, Does this switch actually need to be ...
7 years, 2 months ago (2013-10-15 19:48:09 UTC) #3
Joao da Silva
@bauerb: see inline, PTAL @jochen: friendly ping https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc File chrome/browser/prefs/command_line_pref_store.cc (right): https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc#newcode78 chrome/browser/prefs/command_line_pref_store.cc:78: { policy::switches::kDisableCloudPolicyOnSignin, ...
7 years, 2 months ago (2013-10-16 09:50:34 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc File chrome/browser/prefs/command_line_pref_store.cc (right): https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc#newcode78 chrome/browser/prefs/command_line_pref_store.cc:78: { policy::switches::kDisableCloudPolicyOnSignin, On 2013/10/16 09:50:34, Joao da Silva wrote: ...
7 years, 2 months ago (2013-10-16 11:18:30 UTC) #5
Joao da Silva
On 2013/10/16 11:18:30, Bernhard Bauer wrote: > https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc > File chrome/browser/prefs/command_line_pref_store.cc (right): > > https://codereview.chromium.org/26972003/diff/10001/chrome/browser/prefs/command_line_pref_store.cc#newcode78 ...
7 years, 2 months ago (2013-10-16 11:38:00 UTC) #6
jochen (gone - plz use gerrit)
components/OWNERS lgtm
7 years, 2 months ago (2013-10-16 17:32:46 UTC) #7
Bernhard Bauer
On 2013/10/16 11:38:00, Joao da Silva wrote: > On 2013/10/16 11:18:30, Bernhard Bauer wrote: > ...
7 years, 2 months ago (2013-10-16 17:35:28 UTC) #8
Joao da Silva
On Wed, Oct 16, 2013 at 7:35 PM, <bauerb@chromium.org> wrote: > On 2013/10/16 11:38:00, Joao ...
7 years, 2 months ago (2013-10-16 17:51:05 UTC) #9
Joao da Silva
+atwilson this time @Drew, can we get right of --disable-cloud-policy-on-signin and prefs:: kDisableCloudPolicyOnSignin? On Wed, ...
7 years, 2 months ago (2013-10-16 17:51:32 UTC) #10
Bernhard Bauer
OK, you can haz stamp: LGTM.
7 years, 2 months ago (2013-10-16 17:51:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/26972003/10001
7 years, 2 months ago (2013-10-16 17:56:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/26972003/10001
7 years, 2 months ago (2013-10-16 20:46:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/26972003/10001
7 years, 2 months ago (2013-10-16 21:42:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/26972003/10001
7 years, 2 months ago (2013-10-17 01:46:53 UTC) #15
Joao da Silva
7 years, 2 months ago (2013-10-17 08:58:46 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 manually as r229084 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698