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

Issue 263423003: Add a policy to re-enable deprecated web platform features. (Closed)

Created:
6 years, 7 months ago by Mattias Nissler (ping if slow)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, joaodasilva+watch_chromium.org, jam, jar (doing other things), asvitkine+watch_chromium.org, saswat
Visibility:
Public.

Description

Add a policy to re-enable deprecated web platform features. This will give admins the ability to re-enable deprecated features for a limited amount of time. BUG=

Patch Set 1 #

Total comments: 15

Patch Set 2 : Rebase #

Patch Set 3 : Switch to WebPreferences, rebase. #

Total comments: 1

Patch Set 4 : Rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -2 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 3 chunks +21 lines, -1 line 2 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 2 chunks +25 lines, -1 line 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/common/webpreferences.h View 1 2 2 chunks +10 lines, -0 lines 1 comment Download

Messages

Total messages: 20 (0 generated)
Mattias Nissler (ping if slow)
Here's a first stab at the CL that adds the policy knob to enable deprecated ...
6 years, 7 months ago (2014-05-06 14:31:15 UTC) #1
Andrew T Wilson (Slow)
lgtm with some comments https://codereview.chromium.org/263423003/diff/1/chrome/browser/policy/configuration_policy_handler_list_factory.cc File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): https://codereview.chromium.org/263423003/diff/1/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode497 chrome/browser/policy/configuration_policy_handler_list_factory.cc:497: StringToIntEnumListPolicyHandler::MappingEntry BTW, should add a ...
6 years, 7 months ago (2014-05-08 11:32:45 UTC) #2
Mattias Nissler (ping if slow)
Eric, Adam, can one of you check whether this works for you? Note there are ...
6 years, 7 months ago (2014-05-09 16:38:26 UTC) #3
abarth-chromium
I'm not very familiar with this side of things, so I don't have much technical ...
6 years, 7 months ago (2014-05-10 00:27:39 UTC) #4
Mattias Nissler (ping if slow)
Drew, PTAL. https://codereview.chromium.org/263423003/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/263423003/diff/1/components/policy/resources/policy_templates.json#newcode6388 components/policy/resources/policy_templates.json:6388: - ShowModalDialog On 2014/05/10 00:27:39, abarth wrote: ...
6 years, 7 months ago (2014-05-19 15:03:08 UTC) #5
Mattias Nissler (ping if slow)
Drew: friendly ping.
6 years, 7 months ago (2014-05-23 06:52:07 UTC) #6
Andrew T Wilson (Slow)
still lgtm https://codereview.chromium.org/263423003/diff/40001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/263423003/diff/40001/chrome/browser/chrome_content_browser_client.cc#newcode246 chrome/browser/chrome_content_browser_client.cc:246: using base::FileDescriptor; Ah, the tyranny of alphabetical ...
6 years, 7 months ago (2014-05-23 15:20:54 UTC) #7
Mattias Nissler (ping if slow)
Adding more OWNERS for various pieces: darin@chromium.org: webpreferences.h jar@chromium.org: histograms.xml dconnelly@chromium.org: policy_templates.json inferno@chromium.org: common_param_trait_macros.h
6 years, 7 months ago (2014-05-23 17:11:36 UTC) #8
jar (doing other things)
histograms.xml LGTM
6 years, 7 months ago (2014-05-23 17:18:44 UTC) #9
eseidel
lgtm
6 years, 7 months ago (2014-05-23 19:32:30 UTC) #10
dconnelly
lgtm
6 years, 7 months ago (2014-05-26 08:32:21 UTC) #11
Andrew T Wilson (Slow)
darin/inferno: ping - I'm taking over this CL for Mattias because he's out on paternity ...
6 years, 6 months ago (2014-06-02 12:20:30 UTC) #12
Andrew T Wilson (Slow)
Jochen: This was that ShowModalDialog-related CL we were discussing. darin/inferno: PTAL still, or let me ...
6 years, 6 months ago (2014-06-06 15:10:10 UTC) #13
jochen (gone - plz use gerrit)
On 2014/06/06 15:10:10, Andrew T Wilson wrote: > Jochen: This was that ShowModalDialog-related CL we ...
6 years, 6 months ago (2014-06-10 10:25:23 UTC) #14
Andrew T Wilson (Slow)
jln/tsepez - can one of you give an OWNERS stamp for common_param_traits_macros.h? jamesr: OWNERS for ...
6 years, 6 months ago (2014-06-10 17:16:25 UTC) #15
Tom Sepez
Messages LGTM.
6 years, 6 months ago (2014-06-10 17:20:16 UTC) #16
jamesr
This looks like a complicated mechanism to pipe a single bool through - why not ...
6 years, 6 months ago (2014-06-10 17:59:19 UTC) #17
jamesr
https://codereview.chromium.org/263423003/diff/60001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/263423003/diff/60001/chrome/browser/chrome_content_browser_client.cc#newcode2401 chrome/browser/chrome_content_browser_client.cc:2401: web_prefs->deprecated_features_to_enable[value] = true; I understand you're in a hurry ...
6 years, 6 months ago (2014-06-10 18:11:27 UTC) #18
Andrew T Wilson (Slow)
https://codereview.chromium.org/263423003/diff/60001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/263423003/diff/60001/chrome/browser/chrome_content_browser_client.cc#newcode2401 chrome/browser/chrome_content_browser_client.cc:2401: web_prefs->deprecated_features_to_enable[value] = true; On 2014/06/10 18:11:27, jamesr wrote: > ...
6 years, 6 months ago (2014-06-10 18:53:33 UTC) #19
jamesr
6 years, 6 months ago (2014-06-10 19:16:04 UTC) #20
This is definitely overkill for one bool and may or may not be overkill in the
future, depending on what happens.  Let's see if we need this.  If you want to
keep the goop up in chrome, you can at least map to a single bool before going
to WebPreferences and hitting the IPC channel.

Powered by Google App Engine
This is Rietveld 408576698