New issue
Advanced search Search tips

Issue 603810 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Http2PriorityWriteScheduler is overtemplated and underused

Project Member Reported by rsleevi@chromium.org, Apr 15 2016

Issue description

Right now, we have Http2PriorityWriteScheduler ( https://chromium.googlesource.com/chromium/src/+/master/net/spdy/http2_write_scheduler.h ) , which is presently templated to take arbitrary types, but only ever instantiated with one type. The only instantiation that codesearch can find (internal or external) is in the unit test.

It seems like, at best, this is overly complicated code that's largely been untouched for nearly 2 years except for occasional bulk imports, and worst, it's dead code. In either event, it shows up in code cleanups and refactorings, and that seems like a good candidate to remove.
 

Comment 1 by b...@chromium.org, Apr 15 2016

Cc: -b...@chromium.org
Owner: b...@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by b...@chromium.org, Apr 15 2016

Cc: rch@chromium.org
rch: I do not see any reason not to remove this class.
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 4 2017

Comment 4 by b...@chromium.org, Apr 4 2017

Status: Fixed (was: Assigned)
OP: Thank you for reporting this issue.  I removed class Http2PriorityWriteScheduler.

Sign in to add a comment