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

Issue 5991003: Added group policy for disabling all client-side 3D APIs in Chromium... (Closed)

Created:
10 years ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, jam, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., jschuh
Visibility:
Public.

Description

Added group policy for disabling all client-side 3D APIs in Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69753

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -9 lines) Patch
M chrome/app/policy/policy_templates.grd View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/app/policy/policy_templates.json View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_store_interface.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/policy_constants.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/policy_constants.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/sandbox_init_wrapper_mac.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/sandbox_policy.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/render_thread.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/worker/worker_thread.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ken Russell (switch to Gerrit)
Reviewers: this bug is targeted at M9 stable, so appreciate reviews at your earliest convenience. ...
10 years ago (2010-12-17 23:13:59 UTC) #1
Mattias Nissler (ping if slow)
The policy bits LGTM if you address the two comments I put. I'm not familiar ...
10 years ago (2010-12-20 12:25:35 UTC) #2
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/5991003/diff/19001/chrome/browser/policy/managed_prefs_banner_base.cc File chrome/browser/policy/managed_prefs_banner_base.cc (right): http://codereview.chromium.org/5991003/diff/19001/chrome/browser/policy/managed_prefs_banner_base.cc#newcode74 chrome/browser/policy/managed_prefs_banner_base.cc:74: AddUserPref(prefs::kDisable3DAPIs); On 2010/12/20 12:25:36, Mattias Nissler wrote: > Why ...
10 years ago (2010-12-20 20:34:33 UTC) #3
Vangelis Kokkevis
The 3D side of things looks good.
10 years ago (2010-12-20 21:08:22 UTC) #4
Ken Russell (switch to Gerrit)
10 years ago (2010-12-21 01:51:35 UTC) #5
Note that this was reverted in http://codereview.chromium.org/6027004/ due to a
Chromium OS build failure. It is being re-landed under
http://codereview.chromium.org/6045003/ .

Powered by Google App Engine
This is Rietveld 408576698