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

Issue 864923002: In SdchDictionaryFetcher, don't set state when scheduling if loop is active. (Closed)

Created:
5 years, 11 months ago by Randy Smith (Not in Mondays)
Modified:
5 years, 11 months ago
Reviewers:
mmenke
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

In SdchDictionaryFetcher, don't set state when scheduling if loop is active. BUG=450724 R=mmenke@chromium.org Committed: https://crrev.com/81fe0e576f9cfe564fa85bfa545de68c26b8a02c Cr-Commit-Position: refs/heads/master@{#313125}

Patch Set 1 #

Patch Set 2 : Result of self review. #

Patch Set 3 : Result of git cl format. #

Total comments: 29

Patch Set 4 : Incorporate Matt's comments. #

Patch Set 5 : Incorporated comments. #

Patch Set 6 : Sync'd to p313032. #

Total comments: 20

Patch Set 7 : Incorporated latest round of comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -49 lines) Patch
M net/url_request/sdch_dictionary_fetcher.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M net/url_request/sdch_dictionary_fetcher_unittest.cc View 1 2 3 4 5 6 10 chunks +139 lines, -49 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
Randy Smith (Not in Mondays)
Matt: Sorry to add to your burdens, but I'd like someone to look at this ...
5 years, 11 months ago (2015-01-21 20:26:57 UTC) #1
mmenke
https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc#newcode65 net/url_request/sdch_dictionary_fetcher.cc:65: if (next_state_ == STATE_NONE) { I think an early ...
5 years, 11 months ago (2015-01-21 21:33:58 UTC) #2
mmenke
Oh, and about the reason you actually sent this to me: After switching to an ...
5 years, 11 months ago (2015-01-21 21:53:41 UTC) #3
Randy Smith (Not in Mondays)
Responded to your comments; PTAL? https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc#newcode65 net/url_request/sdch_dictionary_fetcher.cc:65: if (next_state_ == STATE_NONE) ...
5 years, 11 months ago (2015-01-22 19:04:40 UTC) #4
mmenke
Responses. https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc#newcode66 net/url_request/sdch_dictionary_fetcher.cc:66: next_state_ = STATE_IDLE; On 2015/01/22 19:04:39, rdsmith wrote: ...
5 years, 11 months ago (2015-01-22 19:58:33 UTC) #5
mmenke
And some more elaboration, while I'm thinking about it. Clearly I need more excitement on ...
5 years, 11 months ago (2015-01-24 17:01:24 UTC) #6
Randy Smith (Not in Mondays)
Thanks for all the comments! Believed incorporated; PTAL. https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher.cc#newcode66 net/url_request/sdch_dictionary_fetcher.cc:66: next_state_ ...
5 years, 11 months ago (2015-01-24 23:21:02 UTC) #7
mmenke
LGTM https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher_unittest.cc File net/url_request/sdch_dictionary_fetcher_unittest.cc (right): https://codereview.chromium.org/864923002/diff/40001/net/url_request/sdch_dictionary_fetcher_unittest.cc#newcode30 net/url_request/sdch_dictionary_fetcher_unittest.cc:30: // addition callbacks. On 2015/01/24 23:21:01, rdsmith wrote: ...
5 years, 11 months ago (2015-01-26 16:06:06 UTC) #8
Randy Smith (Not in Mondays)
Thanks! https://codereview.chromium.org/864923002/diff/100001/net/url_request/sdch_dictionary_fetcher_unittest.cc File net/url_request/sdch_dictionary_fetcher_unittest.cc (right): https://codereview.chromium.org/864923002/diff/100001/net/url_request/sdch_dictionary_fetcher_unittest.cc#newcode46 net/url_request/sdch_dictionary_fetcher_unittest.cc:46: if (!destruction_callback_.is_null()) On 2015/01/26 16:06:06, mmenke wrote: > ...
5 years, 11 months ago (2015-01-26 19:21:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864923002/120001
5 years, 11 months ago (2015-01-26 19:22:45 UTC) #11
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 11 months ago (2015-01-26 20:44:03 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 20:46:02 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/81fe0e576f9cfe564fa85bfa545de68c26b8a02c
Cr-Commit-Position: refs/heads/master@{#313125}

Powered by Google App Engine
This is Rietveld 408576698