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

Issue 7776002: Add back prefs::kSSL3Enabled and prefs::kTLS1Enabled, but control (Closed)

Created:
9 years, 4 months ago by wtc
Modified:
9 years, 1 month ago
Reviewers:
palmer, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, palmer
Visibility:
Public.

Description

[This CL is abandoned. Replaced by http://codereview.chromium.org/8402019/ ] Add back prefs::kSSL3Enabled and prefs::kTLS1Enabled, but control the preferences with the command-line options via the CommandLinePrefStore. This allows us to control the preferences via the PolicyPrefStores or any other pref store in the future. R=rsleevi@chromium.org BUG=93554 TEST=none

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : Also delete the pref_change_registrar_.Add() calls. #

Total comments: 4

Patch Set 4 : Call prefs->ClearPref to remove old prefs from Local State #

Patch Set 5 : Remove a space added by mistake. Sync with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M chrome/browser/net/ssl_config_service_manager_pref.cc View 1 2 3 4 5 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
wtc
rsleevi: please review. This CL is based on two CLs: your http://codereview.chromium.org/7462008 palmer's http://codereview.chromium.org/7766004
9 years, 4 months ago (2011-08-27 05:46:12 UTC) #1
Ryan Sleevi
LGTM http://codereview.chromium.org/7776002/diff/1/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): http://codereview.chromium.org/7776002/diff/1/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode142 chrome/browser/net/ssl_config_service_manager_pref.cc:142: bool ssl3_enabled_; nit: You can probably simplify things ...
9 years, 3 months ago (2011-08-27 14:14:42 UTC) #2
wtc
rsleevi: I made the changes you suggested. Please review Patch Set 2. I have a ...
9 years, 3 months ago (2011-08-27 20:27:06 UTC) #3
Ryan Sleevi
On 2011/08/27 20:27:06, wtc wrote: > rsleevi: I made the changes you suggested. Please review ...
9 years, 3 months ago (2011-08-27 20:30:03 UTC) #4
wtc
Thanks for the confirmation. Patch Set 3 adds two lines to command_line_pref_store.cc and reverts the ...
9 years, 3 months ago (2011-08-27 20:41:02 UTC) #5
Ryan Sleevi
LGTM
9 years, 3 months ago (2011-08-27 20:46:31 UTC) #6
wtc
http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode156 chrome/browser/net/ssl_config_service_manager_pref.cc:156: tls1_enabled_.Init(prefs::kTLS1Enabled, local_state, this); rsleevi: I just realized that I ...
9 years, 3 months ago (2011-08-27 22:14:33 UTC) #7
Ryan Sleevi
http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode156 chrome/browser/net/ssl_config_service_manager_pref.cc:156: tls1_enabled_.Init(prefs::kTLS1Enabled, local_state, this); That is a good question. I ...
9 years, 3 months ago (2011-08-27 22:21:45 UTC) #8
Chris Palmer
I tested this patch out and it didn't violate my expectation, so LGTM. (My expectation ...
9 years, 3 months ago (2011-08-31 18:30:52 UTC) #9
wtc
http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode156 chrome/browser/net/ssl_config_service_manager_pref.cc:156: tls1_enabled_.Init(prefs::kTLS1Enabled, local_state, this); rsleevi,palmer: thank you for testing the ...
9 years, 2 months ago (2011-10-09 15:18:51 UTC) #10
Ryan Sleevi
http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): http://codereview.chromium.org/7776002/diff/6003/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode176 chrome/browser/net/ssl_config_service_manager_pref.cc:176: } wtc: The pattern I've seen is to call ...
9 years, 2 months ago (2011-10-10 01:37:22 UTC) #11
wtc
rsleevi: please review Patch Set 5. It's enough to just review the diffs between Patch ...
9 years, 2 months ago (2011-10-11 16:49:44 UTC) #12
Ryan Sleevi
wtc: Glad to hear it worked. The implementation LGTM, and if you've confirmed it works ...
9 years, 2 months ago (2011-10-11 22:56:27 UTC) #13
wtc
rsleevi: thanks for the code review. Since you brought up the dreaded "unit test" word, ...
9 years, 2 months ago (2011-10-12 19:33:45 UTC) #14
Ryan Sleevi
On 2011/10/12 19:33:45, wtc wrote: > rsleevi: thanks for the code review. > > Since ...
9 years, 1 month ago (2011-10-26 22:30:54 UTC) #15
wtc
9 years, 1 month ago (2011-10-27 00:00:53 UTC) #16
On 2011/10/26 22:30:54, Ryan Sleevi wrote:
> 
> wtc: Do you need a hand writing a unittest? I can upload a quick one if you're
> not yet caught up on the pref code.

Thank you for offering to help.  I don't have time to study the
pref code to write a unit test, so I put this CL on the backburner.
(This CL is just a cleanup unless we need to control these two
settings with policy.)

If you have written a test, please take over this CL so you can
get the credit.  Thanks.

Powered by Google App Engine
This is Rietveld 408576698