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

Issue 20379: Improve modularity of recent SDCH dictionary load checkin... (Closed)

Created:
11 years, 10 months ago by jar (doing other things)
Modified:
9 years, 7 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Improve modularity of recent SDCH dictionary load checkin I felt guilty that I allowed url_request_job to have some logic in it about whether it can load an SDCH dictinary or not. This patch pushed the logic back into sdch_manager (where it belongs). r=wtc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9897

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M net/base/sdch_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/base/sdch_manager.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jar (doing other things)
11 years, 10 months ago (2009-02-14 18:40:17 UTC) #1
wtc
As we discussed in person, you should not need the sdch_request_url_ member. http://codereview.chromium.org/20379/diff/1007/8 File net/url_request/url_request_http_job.cc ...
11 years, 10 months ago (2009-02-17 18:33:17 UTC) #2
jar (doing other things)
http://codereview.chromium.org/20379/diff/1007/8 File net/url_request/url_request_http_job.cc (right): http://codereview.chromium.org/20379/diff/1007/8#newcode464 Line 464: sdch_request_url_ = request_->url(); On 2009/02/17 18:33:17, wtc wrote: ...
11 years, 10 months ago (2009-02-17 18:47:08 UTC) #3
wtc
LGTM. http://codereview.chromium.org/20379/diff/15/16 File net/url_request/url_request_http_job.cc (right): http://codereview.chromium.org/20379/diff/15/16#newcode68 Line 68: SdchManager::Global()->FetchDictionary(request_info_.url, I guess you can add a ...
11 years, 10 months ago (2009-02-17 18:53:16 UTC) #4
wtc
11 years, 10 months ago (2009-02-17 19:02:02 UTC) #5
LGTM.  Thanks!

Powered by Google App Engine
This is Rietveld 408576698