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

Issue 664263002: Restructure SDCH layering to allow more separation (observer/1->[0,n] (Closed)

Created:
6 years, 2 months ago by Randy Smith (Not in Mondays)
Modified:
6 years, 1 month ago
Reviewers:
Bence, Ryan Sleevi, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Restructure SDCH layering to allow more separation (observer/1->[0,n] relationship) between SdchManager and embedder classes. This allows cleanly setting up the embedder class after SdchManager construction and tearing it down before SdchManager destruction. BUG=414888 R=rsleevi@chromium.org Committed: https://crrev.com/47c133b16551d5b2b24bb9536b696f2f283403e6 Cr-Commit-Position: refs/heads/master@{#303058}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Results of self review. #

Total comments: 24

Patch Set 3 : Incorporated comments. #

Patch Set 4 : Sync'd to p300510. #

Patch Set 5 : Next round of comment incorporation. #

Patch Set 6 : Sync'd to p300953. #

Total comments: 19

Patch Set 7 : Sync'd to commit position 302283. #

Patch Set 8 : Results of git cl format. #

Patch Set 9 : Incorporated comments. #

Total comments: 7

Patch Set 10 : Incorporated more comments. #

Total comments: 21

Patch Set 11 : Incorporated comments. #

Patch Set 12 : Sync'd to 303035. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -774 lines) Patch
A chrome/browser/net/chrome_sdch_policy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/net/chrome_sdch_policy.cc View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/net/sdch_browsertest.cc View 1 2 3 4 5 6 7 9 chunks +96 lines, -14 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
D net/base/sdch_dictionary_fetcher.h View 1 2 3 1 chunk +0 lines, -112 lines 0 comments Download
D net/base/sdch_dictionary_fetcher.cc View 1 chunk +0 lines, -244 lines 0 comments Download
D net/base/sdch_dictionary_fetcher_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -193 lines 0 comments Download
M net/base/sdch_manager.h View 1 2 3 4 5 6 7 8 9 10 9 chunks +36 lines, -79 lines 0 comments Download
M net/base/sdch_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +28 lines, -25 lines 0 comments Download
M net/base/sdch_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +49 lines, -0 lines 0 comments Download
A net/base/sdch_observer.h View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A + net/base/sdch_observer.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -6 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -3 lines 0 comments Download
A + net/url_request/sdch_dictionary_fetcher.h View 1 2 3 4 5 6 7 8 5 chunks +33 lines, -27 lines 0 comments Download
A + net/url_request/sdch_dictionary_fetcher.cc View 1 2 3 4 5 6 7 5 chunks +9 lines, -10 lines 0 comments Download
A + net/url_request/sdch_dictionary_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 9 9 chunks +37 lines, -50 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (3 generated)
Randy Smith (Not in Mondays)
Ryan: As I'm sure you're aware, expressing opinions will sometimes mean that people come back ...
6 years, 2 months ago (2014-10-20 22:16:09 UTC) #1
Ryan Sleevi
Perhaps it's residual flu, but I don't understand your truth & beauty problem. Perhaps you ...
6 years, 2 months ago (2014-10-20 22:42:05 UTC) #2
Randy Smith (Not in Mondays)
Comments responded to/incorporated. WRT the truth&beauty question, maybe I need to tweak my rsleevi@ emulation; ...
6 years, 2 months ago (2014-10-21 19:05:37 UTC) #3
Ryan Sleevi
So, I don't agree with 3, but that's precisely because of the problem you highlight ...
6 years, 2 months ago (2014-10-21 23:09:29 UTC) #4
Randy Smith (Not in Mondays)
Comments incorporated; PTAL? (I'm taking the URLRequest notification issue into email since they aren't relevant ...
6 years, 1 month ago (2014-10-23 20:57:07 UTC) #5
Randy Smith (Not in Mondays)
Ryan: When you get a chance, please see if the changes I've made are ok ...
6 years, 1 month ago (2014-10-28 19:41:43 UTC) #7
Bence
Please consider updating the Description with BUG=414888.
6 years, 1 month ago (2014-10-29 15:46:31 UTC) #8
Randy Smith (Not in Mondays)
On 2014/10/29 15:46:31, Bence wrote: > Please consider updating the Description with BUG=414888. Ooops; done.
6 years, 1 month ago (2014-10-29 15:48:58 UTC) #9
Randy Smith (Not in Mondays)
Bence, Ryan: Ping? Just making sure this hasn't fallen off your radar screens.
6 years, 1 month ago (2014-10-31 17:24:24 UTC) #10
Bence
On 2014/10/31 17:24:24, rdsmith wrote: > Bence, Ryan: Ping? Just making sure this hasn't fallen ...
6 years, 1 month ago (2014-10-31 17:30:36 UTC) #11
Ryan Sleevi
I have not reviewed the tests, assuming Bence has done so. If that's not the ...
6 years, 1 month ago (2014-11-04 21:40:45 UTC) #12
Bence
On 2014/11/04 21:40:45, Ryan Sleevi wrote: > I have not reviewed the tests, assuming Bence ...
6 years, 1 month ago (2014-11-04 22:01:44 UTC) #13
Randy Smith (Not in Mondays)
Ryan: I've incorporated your comments; PTAL? With regard to the whole URLRequest notification issue: I ...
6 years, 1 month ago (2014-11-05 20:35:02 UTC) #14
Ryan Sleevi
You're in the home stretch - LGTM, mod a few remarks on tests. https://codereview.chromium.org/664263002/diff/100001/net/base/sdch_manager.h File ...
6 years, 1 month ago (2014-11-05 22:21:39 UTC) #15
Bence
On 2014/11/05 20:35:02, rdsmith wrote: > Bence: Part of the reason I went looking for ...
6 years, 1 month ago (2014-11-05 22:47:41 UTC) #16
Randy Smith (Not in Mondays)
On 2014/11/05 22:47:41, Bence wrote: > On 2014/11/05 20:35:02, rdsmith wrote: > > Bence: Part ...
6 years, 1 month ago (2014-11-05 22:56:16 UTC) #17
Randy Smith (Not in Mondays)
Thanks to you both! Matt: Willing to stamp the changes to chrome/browser/profiles based on Bence ...
6 years, 1 month ago (2014-11-05 23:50:00 UTC) #19
Ryan Sleevi
https://codereview.chromium.org/664263002/diff/160001/net/url_request/sdch_dictionary_fetcher_unittest.cc File net/url_request/sdch_dictionary_fetcher_unittest.cc (right): https://codereview.chromium.org/664263002/diff/160001/net/url_request/sdch_dictionary_fetcher_unittest.cc#newcode98 net/url_request/sdch_dictionary_fetcher_unittest.cc:98: base::Unretained(this)))); On 2014/11/05 23:50:00, rdsmith wrote: > On 2014/11/05 ...
6 years, 1 month ago (2014-11-06 00:03:45 UTC) #20
mmenke
Seems reasonable. https://codereview.chromium.org/664263002/diff/180001/chrome/browser/net/chrome_sdch_policy.cc File chrome/browser/net/chrome_sdch_policy.cc (right): https://codereview.chromium.org/664263002/diff/180001/chrome/browser/net/chrome_sdch_policy.cc#newcode10 chrome/browser/net/chrome_sdch_policy.cc:10: ChromeSdchPolicy::ChromeSdchPolicy(net::SdchManager* sdch_manager, Why isn't this class in ...
6 years, 1 month ago (2014-11-06 15:30:12 UTC) #21
Randy Smith (Not in Mondays)
Incorporated comments; PTAL? https://codereview.chromium.org/664263002/diff/180001/chrome/browser/net/chrome_sdch_policy.cc File chrome/browser/net/chrome_sdch_policy.cc (right): https://codereview.chromium.org/664263002/diff/180001/chrome/browser/net/chrome_sdch_policy.cc#newcode10 chrome/browser/net/chrome_sdch_policy.cc:10: ChromeSdchPolicy::ChromeSdchPolicy(net::SdchManager* sdch_manager, On 2014/11/06 15:30:11, mmenke ...
6 years, 1 month ago (2014-11-06 16:39:04 UTC) #22
mmenke
LGTM (Didn't delve into things, deferring to rsleevi and Bence for that, just signing off ...
6 years, 1 month ago (2014-11-06 16:44:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664263002/220001
6 years, 1 month ago (2014-11-06 18:15:54 UTC) #25
commit-bot: I haz the power
Committed patchset #12 (id:220001)
6 years, 1 month ago (2014-11-06 19:02:39 UTC) #26
commit-bot: I haz the power
6 years, 1 month ago (2014-11-06 19:03:22 UTC) #27
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/47c133b16551d5b2b24bb9536b696f2f283403e6
Cr-Commit-Position: refs/heads/master@{#303058}

Powered by Google App Engine
This is Rietveld 408576698