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

Issue 6542048: Add content_settings::PolicyProvider and a set of new policies to managed content settings. (Closed)

Created:
9 years, 10 months ago by markusheintz_
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add content_settings::PolicyProvider and a set of new policies to managed content settings. BUG=63656, 63182 TEST=content_settings_policy_provider_unittest.cc,host_content_settings_map_unittests.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76224

Patch Set 1 #

Patch Set 2 : " #

Total comments: 29

Patch Set 3 : " #

Patch Set 4 : " #

Patch Set 5 : " #

Patch Set 6 : " #

Total comments: 4

Patch Set 7 : " #

Patch Set 8 : " #

Total comments: 4

Patch Set 9 : " #

Patch Set 10 : " #

Unified diffs Side-by-side diffs Delta from patch set Stats (+732 lines, -36 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 8 9 2 chunks +111 lines, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_base_provider.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_base_provider.cc View 1 2 3 4 5 6 3 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/content_settings/content_settings_mock_provider.h View 1 8 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_mock_provider.cc View 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.h View 1 2 2 chunks +73 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 1 2 3 4 5 6 7 5 chunks +286 lines, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider_unittest.cc View 1 2 3 4 5 6 2 chunks +102 lines, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_provider.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_provider_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 6 chunks +18 lines, -11 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 2 chunks +44 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
markusheintz_
I'd like to get some feedback on this CL before I finish it. So please ...
9 years, 10 months ago (2011-02-22 18:12:08 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/6542048/diff/2001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/6542048/diff/2001/chrome/app/policy/policy_templates.json#newcode1193 chrome/app/policy/policy_templates.json:1193: 'name': 'PluginsAskForUrls', We don't actually use the setting "Ask" ...
9 years, 10 months ago (2011-02-23 13:18:53 UTC) #2
markusheintz_
Fixed nits and TODO. Please review. Notice the change in the BaseProvider's GetContentSettings method. http://codereview.chromium.org/6542048/diff/2001/chrome/app/policy/policy_templates.json ...
9 years, 10 months ago (2011-02-23 18:42:09 UTC) #3
markusheintz_
Fixed unit_tests. Please review.
9 years, 10 months ago (2011-02-25 15:31:39 UTC) #4
Bernhard Bauer
Looks pretty good. http://codereview.chromium.org/6542048/diff/2001/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc File chrome/browser/content_settings/content_settings_policy_provider_unittest.cc (right): http://codereview.chromium.org/6542048/diff/2001/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc#newcode86 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc:86: : ui_thread_(BrowserThread::UI, &message_loop_) { On 2011/02/23 ...
9 years, 10 months ago (2011-02-25 16:08:01 UTC) #5
markusheintz_
http://codereview.chromium.org/6542048/diff/2001/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc File chrome/browser/content_settings/content_settings_policy_provider_unittest.cc (right): http://codereview.chromium.org/6542048/diff/2001/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc#newcode86 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc:86: : ui_thread_(BrowserThread::UI, &message_loop_) { On 2011/02/25 16:08:01, Bernhard Bauer ...
9 years, 9 months ago (2011-02-28 09:08:43 UTC) #6
Bernhard Bauer
LGTM.
9 years, 9 months ago (2011-02-28 09:21:43 UTC) #7
markusheintz_
@gfeher,jukummerow: Please check the policy template changes. THX One more patchset: - Add descriptions to ...
9 years, 9 months ago (2011-02-28 15:59:24 UTC) #8
gfeher
http://codereview.chromium.org/6542048/diff/21004/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/6542048/diff/21004/chrome/app/policy/policy_templates.json#newcode94 chrome/app/policy/policy_templates.json:94: # For your editing convenience: highest ID currently used: ...
9 years, 9 months ago (2011-02-28 16:08:23 UTC) #9
markusheintz_
http://codereview.chromium.org/6542048/diff/21004/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/6542048/diff/21004/chrome/app/policy/policy_templates.json#newcode94 chrome/app/policy/policy_templates.json:94: # For your editing convenience: highest ID currently used: ...
9 years, 9 months ago (2011-02-28 16:32:29 UTC) #10
markusheintz_
s/chrome_os.*:0.11-/chrome_os:0.11-/
9 years, 9 months ago (2011-02-28 16:44:52 UTC) #11
gfeher
policy_templates.json: LGTM
9 years, 9 months ago (2011-02-28 16:52:05 UTC) #12
Jakob Kummerow
9 years, 9 months ago (2011-02-28 17:18:27 UTC) #13
policy stuff LGTM as well.

Powered by Google App Engine
This is Rietveld 408576698