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

Issue 2785493003: Disable SDCH by Default (Closed)

Created:
3 years, 8 months ago by Randy Smith (Not in Mondays)
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Ryan Sleevi
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable SDCH by Default Disable SDCH in Chrome. It remains accessible via either explicit initialization of an SdchManager/SdchOwner or through the use of URLRequestContextBuilder's set_sdch_enabled(true) This does not disable the SDCH netlog panel, as there may be SDCH net-internals dumps that need to be examined from earlier versions of Chrome. BUG=696815 patch from issue 2720613006 at patchset 1 (http://crrev.com/2720613006#ps1) CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2785493003 Cr-Commit-Position: refs/heads/master@{#461100} Committed: https://chromium.googlesource.com/chromium/src/+/4152e1751a735f2c0f2cffc30976f9c5ed233f95

Patch Set 1 #

Patch Set 2 : Remove constant for network json storage. #

Patch Set 3 : Sync'd to ToT. #

Patch Set 4 : Fixed browser tests. #

Patch Set 5 : Added todo for removing sdch_view.js. #

Total comments: 1

Patch Set 6 : Incorporated comments. #

Total comments: 2

Patch Set 7 : Clean up IOS compilation errors and remove from IOS OTR profile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -232 lines) Patch
M chrome/browser/net/sdch_browsertest.cc View 1 2 3 10 chunks +56 lines, -18 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 4 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 4 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/resources/net_internals/sdch_view.js View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_constants.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/data/webui/net_internals/log_util.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/net_internals/sdch_view.js View 1 2 3 5 1 chunk +0 lines, -44 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.h View 1 2 3 4 5 6 2 chunks +0 lines, -5 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.mm View 1 2 3 4 5 3 chunks +0 lines, -112 lines 0 comments Download
M ios/chrome/browser/browser_state/off_the_record_chrome_browser_state_io_data.h View 1 2 3 4 5 6 2 chunks +0 lines, -5 lines 0 comments Download
M ios/chrome/browser/browser_state/off_the_record_chrome_browser_state_io_data.mm View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 43 (27 generated)
Randy Smith (Not in Mondays)
Helen, could you review this? It's close to Ryan's original, with some tweaks. I'm not ...
3 years, 8 months ago (2017-03-29 23:21:06 UTC) #13
eroman
for net_internals, overall approach SGTM. Can you also add a TODO comment in sdch_view.js which: ...
3 years, 8 months ago (2017-03-29 23:27:53 UTC) #14
Randy Smith (Not in Mondays)
Eric: Done. PTAL.
3 years, 8 months ago (2017-03-30 16:44:13 UTC) #15
xunjieli
Should we also update chrome_browser_state_impl_io_data.mm ?
3 years, 8 months ago (2017-03-30 16:58:28 UTC) #16
eroman
https://codereview.chromium.org/2785493003/diff/70001/chrome/test/data/webui/net_internals/sdch_view.js File chrome/test/data/webui/net_internals/sdch_view.js (right): https://codereview.chromium.org/2785493003/diff/70001/chrome/test/data/webui/net_internals/sdch_view.js#newcode5 chrome/test/data/webui/net_internals/sdch_view.js:5: // TODO(rdsmith) Note that SDCH has been disabled in ...
3 years, 8 months ago (2017-03-30 17:00:25 UTC) #17
Randy Smith (Not in Mondays)
I've responded to comments; PTAL. Adding in people for OWNERS stamps: sky@: chrome/common/chrome_constants.* (sorry, didn't ...
3 years, 8 months ago (2017-03-30 17:19:33 UTC) #22
mmenke
https://codereview.chromium.org/2785493003/diff/90001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (left): https://codereview.chromium.org/2785493003/diff/90001/chrome/browser/profiles/profile_impl_io_data.cc#oldcode453 chrome/browser/profiles/profile_impl_io_data.cc:453: network_json_store_->ReadPrefsAsync(nullptr); Should we do something about cleaning up the ...
3 years, 8 months ago (2017-03-30 17:22:20 UTC) #25
Randy Smith (Not in Mondays)
https://codereview.chromium.org/2785493003/diff/90001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (left): https://codereview.chromium.org/2785493003/diff/90001/chrome/browser/profiles/profile_impl_io_data.cc#oldcode453 chrome/browser/profiles/profile_impl_io_data.cc:453: network_json_store_->ReadPrefsAsync(nullptr); On 2017/03/30 17:22:20, mmenke wrote: > Should we ...
3 years, 8 months ago (2017-03-30 17:33:25 UTC) #26
mmenke
On 2017/03/30 17:33:25, Randy Smith (Not in Mondays) wrote: > https://codereview.chromium.org/2785493003/diff/90001/chrome/browser/profiles/profile_impl_io_data.cc > File chrome/browser/profiles/profile_impl_io_data.cc (left): ...
3 years, 8 months ago (2017-03-30 17:35:59 UTC) #27
xunjieli
LGTM % off_the_record_chrome_browser_state_io_data.mm needs the same change.
3 years, 8 months ago (2017-03-30 17:51:03 UTC) #28
Randy Smith (Not in Mondays)
On 2017/03/30 17:51:03, xunjieli wrote: > LGTM % off_the_record_chrome_browser_state_io_data.mm needs the same change. Done; thanks!
3 years, 8 months ago (2017-03-30 18:01:10 UTC) #30
sky
LGTM
3 years, 8 months ago (2017-03-30 20:34:17 UTC) #34
droger
lgtm
3 years, 8 months ago (2017-03-31 11:50:36 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785493003/110001
3 years, 8 months ago (2017-03-31 11:51:33 UTC) #39
sdefresne
ios/ lgtm
3 years, 8 months ago (2017-03-31 12:07:31 UTC) #40
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 12:30:39 UTC) #43
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/4152e1751a735f2c0f2cffc30976...

Powered by Google App Engine
This is Rietveld 408576698