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

Issue 1346793002: HTTP cache: Add tests to improve coverage of AddTruncatedFlag. (Closed)

Created:
5 years, 3 months ago by rvargas (doing something else)
Modified:
5 years, 3 months ago
Reviewers:
asanka
CC:
cbentzel+watch_chromium.org, chromium-reviews, gavinp+disk_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HTTP cache: Add tests to improve coverage of AddTruncatedFlag. There's also a small change in the logic that sets done_reading_, which is used to determine if the truncated flag should be set or not, and should not be used for sparse entries. BUG= Committed: https://crrev.com/1c7570e7aafdebddd7c97f7ad9381826d7928c0d Cr-Commit-Position: refs/heads/master@{#349528}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move helper function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -83 lines) Patch
M net/http/http_cache_transaction.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_cache_unittest.cc View 1 15 chunks +84 lines, -82 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
rvargas (doing something else)
PTAL
5 years, 3 months ago (2015-09-16 01:16:24 UTC) #2
asanka
lgtm % nits https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_transaction.cc#newcode1878 net/http/http_cache_transaction.cc:1878: } else if (!done_reading_ && entry_ ...
5 years, 3 months ago (2015-09-17 14:43:34 UTC) #3
rvargas (doing something else)
Thanks. https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_transaction.cc#newcode1878 net/http/http_cache_transaction.cc:1878: } else if (!done_reading_ && entry_ && (!partial_ ...
5 years, 3 months ago (2015-09-17 20:18:38 UTC) #4
asanka
lgtm https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_unittest.cc File net/http/http_cache_unittest.cc (right): https://codereview.chromium.org/1346793002/diff/1/net/http/http_cache_unittest.cc#newcode5642 net/http/http_cache_unittest.cc:5642: void VerifyTruncatedFlag(MockHttpCache* cache, On 2015/09/17 at 20:18:37, rvargas ...
5 years, 3 months ago (2015-09-17 22:26:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1346793002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1346793002/20001
5 years, 3 months ago (2015-09-17 22:26:53 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-17 23:05:55 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 23:06:26 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1c7570e7aafdebddd7c97f7ad9381826d7928c0d
Cr-Commit-Position: refs/heads/master@{#349528}

Powered by Google App Engine
This is Rietveld 408576698