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

Issue 1291673003: SdchManager: remove EnableSdchSupport (Closed)

Created:
5 years, 4 months ago by Elly Fong-Jones
Modified:
5 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SdchManager: remove EnableSdchSupport This change removes support for globally enabling or disabling SDCH. SDCH can still be enabled or disabled at the URLRequestContext level by creating or nulling an individual URLRequestContext's SdchManager. The only non-test user of this method was CrNet, which now only creates an SdchManager if SDCH is to be enabled. This change adds a new CrNet integration test to validate that the default behavior is correct. BUG=387891 Committed: https://crrev.com/085ac46e3a37b53f963aa836d6277082fb275c01 Cr-Commit-Position: refs/heads/master@{#343889}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Fixes #

Total comments: 2

Patch Set 3 : Delete obsolete test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -69 lines) Patch
M ios/crnet/crnet_environment.mm View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ios/crnet/test/crnet_http_tests.mm View 1 5 chunks +58 lines, -8 lines 0 comments Download
M net/base/sdch_manager.h View 1 chunk +0 lines, -5 lines 0 comments Download
M net/base/sdch_manager.cc View 4 chunks +1 line, -12 lines 0 comments Download
M net/base/sdch_manager_unittest.cc View 1 2 4 chunks +1 line, -20 lines 0 comments Download
M net/base/sdch_problem_code_list.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M net/filter/filter.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 chunks +8 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +7 lines, -2 lines 2 comments Download

Messages

Total messages: 20 (6 generated)
Elly Fong-Jones
rdsmith: PTAL at everything but the new obj-c tests droger: PTAL the new obj-c tests ...
5 years, 4 months ago (2015-08-17 15:25:05 UTC) #2
Randy Smith (Not in Mondays)
This looks basically good to me modulo the issue I raise below, but I'd suggest ...
5 years, 4 months ago (2015-08-17 15:39:43 UTC) #3
droger
https://codereview.chromium.org/1291673003/diff/1/ios/crnet/crnet_environment.mm File ios/crnet/crnet_environment.mm (right): https://codereview.chromium.org/1291673003/diff/1/ios/crnet/crnet_environment.mm#newcode333 ios/crnet/crnet_environment.mm:333: LOG(ERROR) << "ConfigureSdch: " << sdch_enabled_; Remove LOG https://codereview.chromium.org/1291673003/diff/1/ios/crnet/test/crnet_http_tests.mm ...
5 years, 4 months ago (2015-08-17 15:47:30 UTC) #4
Elly Fong-Jones
isherman: PTAL for histogram change? https://codereview.chromium.org/1291673003/diff/1/ios/crnet/crnet_environment.mm File ios/crnet/crnet_environment.mm (right): https://codereview.chromium.org/1291673003/diff/1/ios/crnet/crnet_environment.mm#newcode333 ios/crnet/crnet_environment.mm:333: LOG(ERROR) << "ConfigureSdch: " ...
5 years, 4 months ago (2015-08-17 17:26:50 UTC) #6
Randy Smith (Not in Mondays)
LGTM; below comment is a suggestions. https://codereview.chromium.org/1291673003/diff/20001/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (left): https://codereview.chromium.org/1291673003/diff/20001/net/base/sdch_manager_unittest.cc#oldcode594 net/base/sdch_manager_unittest.cc:594: TEST_F(SdchManagerTest, SdchOnByDefault) { ...
5 years, 4 months ago (2015-08-17 17:34:05 UTC) #7
droger
lgtm
5 years, 4 months ago (2015-08-17 17:35:23 UTC) #8
Elly Fong-Jones
https://codereview.chromium.org/1291673003/diff/20001/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (left): https://codereview.chromium.org/1291673003/diff/20001/net/base/sdch_manager_unittest.cc#oldcode594 net/base/sdch_manager_unittest.cc:594: TEST_F(SdchManagerTest, SdchOnByDefault) { On 2015/08/17 17:34:05, rdsmith wrote: > ...
5 years, 4 months ago (2015-08-17 18:27:22 UTC) #9
Ilya Sherman
histograms.xml lgtm with a comment: https://codereview.chromium.org/1291673003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1291673003/diff/40001/tools/metrics/histograms/histograms.xml#newcode68977 tools/metrics/histograms/histograms.xml:68977: + <int value="105" label="defunct ...
5 years, 4 months ago (2015-08-17 18:29:29 UTC) #10
Elly Fong-Jones
https://codereview.chromium.org/1291673003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1291673003/diff/40001/tools/metrics/histograms/histograms.xml#newcode68977 tools/metrics/histograms/histograms.xml:68977: + <int value="105" label="defunct (DISABLED)"> On 2015/08/17 18:29:29, Ilya ...
5 years, 4 months ago (2015-08-17 18:30:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291673003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291673003/40001
5 years, 4 months ago (2015-08-17 18:30:59 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99131)
5 years, 4 months ago (2015-08-17 21:29:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291673003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291673003/40001
5 years, 4 months ago (2015-08-18 11:31:14 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-18 12:03:00 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 12:03:51 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/085ac46e3a37b53f963aa836d6277082fb275c01
Cr-Commit-Position: refs/heads/master@{#343889}

Powered by Google App Engine
This is Rietveld 408576698