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

Issue 711753003: Pin dictionaries from being deleted while request is outstanding. (Closed)

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

Description

Pin dictionaries from being deleted while request is outstanding. This CL also removed scoped_refptr<> from the SdchManager interface. BUG=383407 R=bnc@chromium.org Committed: https://crrev.com/81f6075625a14b2574974a9836f696d397dfdfe7 Cr-Commit-Position: refs/heads/master@{#305247}

Patch Set 1 #

Patch Set 2 : Result of self-review. #

Patch Set 3 : A fair amount of cleanup. #

Patch Set 4 : A few tweaks based on self-review. #

Patch Set 5 : Added a test for checking the unexpected directionary code. #

Patch Set 6 : Sync'd up to p303887 #

Total comments: 6

Patch Set 7 : Incorporated comments; fixed try job errors. #

Total comments: 40

Patch Set 8 : Incorporated Ryan's comments. #

Patch Set 9 : Hopefully fix Windows UnexpectedDictionary failure. #

Patch Set 10 : Sync'd past SDCH net-internals CL (423813002) #

Total comments: 10

Patch Set 11 : Incorporated comments. #

Total comments: 24

Patch Set 12 : Integrated Ryan's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+638 lines, -412 lines) Patch
M net/base/sdch_manager.h View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +92 lines, -38 lines 0 comments Download
M net/base/sdch_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 15 chunks +131 lines, -106 lines 0 comments Download
M net/base/sdch_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +104 lines, -70 lines 0 comments Download
M net/base/sdch_problem_code_list.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M net/filter/filter.h View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +24 lines, -15 lines 0 comments Download
M net/filter/filter.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +23 lines, -23 lines 0 comments Download
M net/filter/filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +8 lines, -8 lines 0 comments Download
M net/filter/mock_filter_context.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -6 lines 0 comments Download
M net/filter/mock_filter_context.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M net/filter/sdch_filter.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -7 lines 0 comments Download
M net/filter/sdch_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +55 lines, -24 lines 0 comments Download
M net/filter/sdch_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 30 chunks +109 lines, -39 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -9 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 14 chunks +56 lines, -64 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Randy Smith (Not in Mondays)
Ryan, Bence: PTAL? Bence, you're primary reviewer. Ryan: All I'm looking for from you is ...
6 years, 1 month ago (2014-11-12 20:21:32 UTC) #3
Randy Smith (Not in Mondays)
Whoops, so busy with the note to Ryan, I forgot the note I had queued ...
6 years, 1 month ago (2014-11-12 20:23:33 UTC) #4
Bence
So far, so good, modulo nits. I would like to see the version that you ...
6 years, 1 month ago (2014-11-12 21:46:26 UTC) #5
Randy Smith (Not in Mondays)
Completely fair with regard to the rebase. I expect the other CL to land in ...
6 years, 1 month ago (2014-11-13 22:11:03 UTC) #6
Ryan Sleevi
Sorry for delays. A lot of design-level comments on the DictionarySet/DictionaryMap, as you probably anticipated ...
6 years, 1 month ago (2014-11-14 03:21:26 UTC) #7
Randy Smith (Not in Mondays)
Ok, ready for new review. Bence: I've sync'd past the net-internals CL, so this is ...
6 years, 1 month ago (2014-11-17 17:04:22 UTC) #9
Bence
LGTM % nits. Sorry for late response. https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h File net/base/sdch_manager.h (right): https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h#newcode126 net/base/sdch_manager.h:126: // DISALLOW_COPY_AND_ASSIGN(Dictionary) ...
6 years, 1 month ago (2014-11-17 20:38:04 UTC) #10
Randy Smith (Not in Mondays)
Bence: I don't consider your comments delayed; by my count they were 3h 34m after ...
6 years, 1 month ago (2014-11-18 22:22:42 UTC) #11
Bence
Thanks. https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h File net/base/sdch_manager.h (right): https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h#newcode126 net/base/sdch_manager.h:126: // DISALLOW_COPY_AND_ASSIGN(Dictionary) by hand since the copy constructor ...
6 years, 1 month ago (2014-11-19 14:26:50 UTC) #12
Randy Smith (Not in Mondays)
https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h File net/base/sdch_manager.h (right): https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h#newcode126 net/base/sdch_manager.h:126: // DISALLOW_COPY_AND_ASSIGN(Dictionary) by hand since the copy constructor On ...
6 years, 1 month ago (2014-11-19 14:45:05 UTC) #13
Bence
https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h File net/base/sdch_manager.h (right): https://codereview.chromium.org/711753003/diff/180001/net/base/sdch_manager.h#newcode126 net/base/sdch_manager.h:126: // DISALLOW_COPY_AND_ASSIGN(Dictionary) by hand since the copy constructor Sorry, ...
6 years, 1 month ago (2014-11-19 15:40:32 UTC) #14
Ryan Sleevi
LGTM % mostly documentation & style nits. https://codereview.chromium.org/711753003/diff/200001/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/711753003/diff/200001/net/base/sdch_manager.cc#newcode464 net/base/sdch_manager.cc:464: auto it ...
6 years, 1 month ago (2014-11-20 22:50:30 UTC) #15
Randy Smith (Not in Mondays)
Thanks very much, Bence and Ryan! https://codereview.chromium.org/711753003/diff/200001/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/711753003/diff/200001/net/base/sdch_manager.cc#newcode464 net/base/sdch_manager.cc:464: auto it = ...
6 years, 1 month ago (2014-11-20 23:44:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/711753003/220001
6 years, 1 month ago (2014-11-20 23:46:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/25696)
6 years, 1 month ago (2014-11-20 23:55:44 UTC) #20
Randy Smith (Not in Mondays)
Alexei, would you stamp histograms.xml?
6 years, 1 month ago (2014-11-21 16:05:45 UTC) #22
Alexei Svitkine (slow)
lgtm
6 years, 1 month ago (2014-11-21 18:18:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/711753003/220001
6 years, 1 month ago (2014-11-21 18:31:14 UTC) #25
commit-bot: I haz the power
Committed patchset #12 (id:220001)
6 years, 1 month ago (2014-11-21 18:35:24 UTC) #26
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 18:36:06 UTC) #27
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/81f6075625a14b2574974a9836f696d397dfdfe7
Cr-Commit-Position: refs/heads/master@{#305247}

Powered by Google App Engine
This is Rietveld 408576698