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

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed)

Created:
10 years ago by markusheintz_
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ben+cc_chromium.org, arv (Not doing code reviews), Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Allow default desktop content settings and default geolocation settings to be managed via policy. (Support for the Cocoa UI will be added via a separate CL) BUG=63190, 63187, 63180 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69707

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Total comments: 2

Patch Set 4 : " #

Patch Set 5 : Add location policies + DOMI_UI #

Patch Set 6 : " #

Patch Set 7 : " #

Total comments: 22

Patch Set 8 : " #

Total comments: 12

Patch Set 9 : " #

Total comments: 4

Patch Set 10 : " #

Total comments: 10

Patch Set 11 : " #

Patch Set 12 : fix windows error #

Patch Set 13 : " #

Total comments: 4

Patch Set 14 : " #

Patch Set 15 : " #

Total comments: 4

Patch Set 16 : " #

Patch Set 17 : " #

Total comments: 6

Patch Set 18 : tmp #

Patch Set 19 : undo-ing patchset 18 + policy template changes + nit #

Patch Set 20 : cocoa UI changes #

Patch Set 21 : fix nits #

Patch Set 22 : Adding messages to the grd file #

Total comments: 8

Patch Set 23 : " #

Total comments: 4

Patch Set 24 : " #

Patch Set 25 : " #

Patch Set 26 : Remove Cocoa UI-changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+467 lines, -23 lines) Patch
M chrome/app/policy/policy_templates.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +106 lines, -0 lines 0 comments Download
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +99 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/content_settings_handler.h View 1 2 3 4 5 6 7 8 18 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/content_settings_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/geolocation_content_settings_map.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +24 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/geolocation_content_settings_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 8 chunks +68 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 3 chunks +66 lines, -0 lines 0 comments Download
M chrome/browser/gtk/options/content_filter_page_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/policy/configuration_policy_store_interface.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/content_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/options/content_filter_page_view.cc View 1 2 3 4 5 6 7 8 9 10 11 18 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 2 3 4 5 6 7 8 9 10 11 12 18 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/policy_constants.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/policy_constants.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
markusheintz_
Pls review my CL please. Thanks :)
10 years ago (2010-11-30 14:57:39 UTC) #1
jochen (gone - plz use gerrit)
what about cocoa and dom UI? http://codereview.chromium.org/5398001/diff/4001/chrome/browser/notifications/desktop_notification_service.h File chrome/browser/notifications/desktop_notification_service.h (right): http://codereview.chromium.org/5398001/diff/4001/chrome/browser/notifications/desktop_notification_service.h#newcode96 chrome/browser/notifications/desktop_notification_service.h:96: bool IsDefaultContentSettingManaged(); can ...
10 years ago (2010-11-30 15:32:49 UTC) #2
markusheintz_
I forgot the DOM-UI. Could I fix that in a separate CL? I already got ...
10 years ago (2010-11-30 15:45:43 UTC) #3
markusheintz_
Since cocoa UI changes are also missing I'll add them and the DOM_UI stuff here. ...
10 years ago (2010-11-30 15:49:27 UTC) #4
markusheintz_
Added DOM-UI stuff. MAC is still missing but I'd like to do that in a ...
10 years ago (2010-12-06 09:32:20 UTC) #5
markusheintz_
FYI the trybots are ok. The test that fails is actually disabled due to bug ...
10 years ago (2010-12-06 12:44:14 UTC) #6
jochen (gone - plz use gerrit)
http://codereview.chromium.org/5398001/diff/29001/chrome/browser/dom_ui/options/content_settings_handler.h File chrome/browser/dom_ui/options/content_settings_handler.h (right): http://codereview.chromium.org/5398001/diff/29001/chrome/browser/dom_ui/options/content_settings_handler.h#newcode99 chrome/browser/dom_ui/options/content_settings_handler.h:99: bool GetDefaultSettingManagedFromModel(ContentSettingsType type); GetManagedDefaultSettingFromModel? Also, please add a comment ...
10 years ago (2010-12-07 09:43:52 UTC) #7
markusheintz_
I'm watching for PROFILE_DESTROYED notification now. In case the profile gets destroyed I set it ...
10 years ago (2010-12-07 11:46:15 UTC) #8
jochen (gone - plz use gerrit)
http://codereview.chromium.org/5398001/diff/39001/chrome/browser/dom_ui/options/content_settings_handler.h File chrome/browser/dom_ui/options/content_settings_handler.h (right): http://codereview.chromium.org/5398001/diff/39001/chrome/browser/dom_ui/options/content_settings_handler.h#newcode99 chrome/browser/dom_ui/options/content_settings_handler.h:99: // Returns whether the default setting for the given ...
10 years ago (2010-12-07 18:55:55 UTC) #9
markusheintz_
http://codereview.chromium.org/5398001/diff/39001/chrome/browser/dom_ui/options/content_settings_handler.h File chrome/browser/dom_ui/options/content_settings_handler.h (right): http://codereview.chromium.org/5398001/diff/39001/chrome/browser/dom_ui/options/content_settings_handler.h#newcode99 chrome/browser/dom_ui/options/content_settings_handler.h:99: // Returns whether the default setting for the given ...
10 years ago (2010-12-08 14:41:39 UTC) #10
jochen (gone - plz use gerrit)
http://codereview.chromium.org/5398001/diff/44001/chrome/browser/geolocation/geolocation_content_settings_map.cc File chrome/browser/geolocation/geolocation_content_settings_map.cc (right): http://codereview.chromium.org/5398001/diff/44001/chrome/browser/geolocation/geolocation_content_settings_map.cc#newcode206 chrome/browser/geolocation/geolocation_content_settings_map.cc:206: void GeolocationContentSettingsMap::NotifyObservers( please add a unit test that the ...
10 years ago (2010-12-08 14:57:43 UTC) #11
markusheintz_
http://codereview.chromium.org/5398001/diff/44001/chrome/browser/geolocation/geolocation_content_settings_map.cc File chrome/browser/geolocation/geolocation_content_settings_map.cc (right): http://codereview.chromium.org/5398001/diff/44001/chrome/browser/geolocation/geolocation_content_settings_map.cc#newcode206 chrome/browser/geolocation/geolocation_content_settings_map.cc:206: void GeolocationContentSettingsMap::NotifyObservers( On 2010/12/08 14:57:43, jochen wrote: > please ...
10 years ago (2010-12-09 14:27:01 UTC) #12
jochen (gone - plz use gerrit)
http://codereview.chromium.org/5398001/diff/50001/chrome/browser/geolocation/geolocation_content_settings_map.cc File chrome/browser/geolocation/geolocation_content_settings_map.cc (right): http://codereview.chromium.org/5398001/diff/50001/chrome/browser/geolocation/geolocation_content_settings_map.cc#newcode84 chrome/browser/geolocation/geolocation_content_settings_map.cc:84: // If the profile is destroyed (and set to ...
10 years ago (2010-12-09 14:36:28 UTC) #13
markusheintz_
sry for the long delay, but my cl is unblocked now. I addressed all comments. ...
10 years ago (2010-12-15 12:15:58 UTC) #14
jochen (gone - plz use gerrit)
adding danno for the policy stuff. Doesn't this require some update to the templates? Otherwise ...
10 years ago (2010-12-15 14:02:11 UTC) #15
markusheintz_
The policy template will be updated with a separate CL. http://codereview.chromium.org/5398001/diff/61001/chrome/browser/geolocation/geolocation_content_settings_map.h File chrome/browser/geolocation/geolocation_content_settings_map.h (right): http://codereview.chromium.org/5398001/diff/61001/chrome/browser/geolocation/geolocation_content_settings_map.h#newcode107 ...
10 years ago (2010-12-15 14:08:35 UTC) #16
markusheintz_
FYI: The Windows try bot failure is already fixed, but not updated here. On 2010/12/15 ...
10 years ago (2010-12-15 14:20:00 UTC) #17
jochen (gone - plz use gerrit)
LGTM with nits adressed http://codereview.chromium.org/5398001/diff/74001/chrome/browser/geolocation/geolocation_content_settings_map.h File chrome/browser/geolocation/geolocation_content_settings_map.h (right): http://codereview.chromium.org/5398001/diff/74001/chrome/browser/geolocation/geolocation_content_settings_map.h#newcode107 chrome/browser/geolocation/geolocation_content_settings_map.h:107: ~GeolocationContentSettingsMap(); destructor is back at ...
10 years ago (2010-12-15 15:05:51 UTC) #18
markusheintz_
http://codereview.chromium.org/5398001/diff/74001/chrome/browser/geolocation/geolocation_content_settings_map.h File chrome/browser/geolocation/geolocation_content_settings_map.h (right): http://codereview.chromium.org/5398001/diff/74001/chrome/browser/geolocation/geolocation_content_settings_map.h#newcode107 chrome/browser/geolocation/geolocation_content_settings_map.h:107: ~GeolocationContentSettingsMap(); On 2010/12/15 15:05:52, jochen wrote: > destructor is ...
10 years ago (2010-12-15 15:24:08 UTC) #19
Nico
LG Please update the CL description to say that this includes UI changes for domui, ...
10 years ago (2010-12-15 15:30:04 UTC) #20
danno
http://codereview.chromium.org/5398001/diff/70002/chrome/browser/gtk/options/content_filter_page_gtk.cc File chrome/browser/gtk/options/content_filter_page_gtk.cc (right): http://codereview.chromium.org/5398001/diff/70002/chrome/browser/gtk/options/content_filter_page_gtk.cc#newcode299 chrome/browser/gtk/options/content_filter_page_gtk.cc:299: ContentSettingsDetails content_settings_details( nit: remove extra leading space here. http://codereview.chromium.org/5398001/diff/70002/chrome/common/policy_constants.h ...
10 years ago (2010-12-15 15:54:06 UTC) #21
markusheintz_
[+ bauerb as reviewer] @Nico: I added the cocoa UI changes to this CL. @danno: ...
10 years ago (2010-12-15 18:07:20 UTC) #22
danno
http://codereview.chromium.org/5398001/diff/102001/chrome/app/policy/policy_templates.grd File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/5398001/diff/102001/chrome/app/policy/policy_templates.grd#newcode380 chrome/app/policy/policy_templates.grd:380: Allows you to set whether websites are allowed to ...
10 years ago (2010-12-16 13:56:41 UTC) #23
markusheintz_
http://codereview.chromium.org/5398001/diff/102001/chrome/app/policy/policy_templates.grd File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/5398001/diff/102001/chrome/app/policy/policy_templates.grd#newcode380 chrome/app/policy/policy_templates.grd:380: Allows you to set whether websites are allowed to ...
10 years ago (2010-12-16 17:29:30 UTC) #24
Bernhard Bauer
Cocoa stuff LGMT with a nit, but please update the description to include the XIB ...
10 years ago (2010-12-16 17:39:06 UTC) #25
Nico
SLG What Bernhard said, please add a "xib changes: bound $A to $B with NegateBoolean" ...
10 years ago (2010-12-16 17:50:35 UTC) #26
danno
Policy stuff LGTM with nit. http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_templates.grd File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_templates.grd#newcode358 chrome/app/policy/policy_templates.grd:358: Content Settings allow you ...
10 years ago (2010-12-17 13:50:04 UTC) #27
markusheintz_
http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_templates.grd File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_templates.grd#newcode358 chrome/app/policy/policy_templates.grd:358: Content Settings allow you to specify how contents of ...
10 years ago (2010-12-17 13:54:13 UTC) #28
markusheintz_
The Mac build bot failed and the content_settings_dialog_controller.mm is to blame. I removed the Cocoa ...
10 years ago (2010-12-20 11:51:34 UTC) #29
Bernhard Bauer
10 years ago (2010-12-20 17:23:46 UTC) #30
What was the probem?

On Mon, Dec 20, 2010 at 03:51,  <markusheintz@chromium.org> wrote:
> The Mac build bot failed and the content_settings_dialog_controller.mm is to
> blame. I removed the Cocoa UI changes and will commit them in a separate CL
> after fixing the problem. Sorry for removing that part of the CL again.
>
> On 2010/12/17 13:54:13, markusheintz_ wrote:
>
>
http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_t...
>>
>> File chrome/app/policy/policy_templates.grd (right):
>
>
>
http://codereview.chromium.org/5398001/diff/106001/chrome/app/policy/policy_t...
>>
>> chrome/app/policy/policy_templates.grd:358: Content Settings allow you to
>> specify how contents of specific a type like for example Cookies, Images
>> or
>> JavaScript is handled.
>> On 2010/12/17 13:50:05, danno wrote:
>> > nit: a type (for example Cookies, Images or JavaScript) is handled.
>
>> Done.
>
>
>
> http://codereview.chromium.org/5398001/
>

Powered by Google App Engine
This is Rietveld 408576698