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

Issue 258633006: Add a Cascade helper to Shelf. (Closed)

Created:
6 years, 8 months ago by nweiz
Modified:
6 years, 8 months ago
Reviewers:
kevmoo
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : code review #

Total comments: 2

Patch Set 3 : code review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -1 line) Patch
M pkg/shelf/CHANGELOG.md View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/shelf/lib/shelf.dart View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/shelf/lib/src/cascade.dart View 1 2 1 chunk +90 lines, -0 lines 1 comment Download
M pkg/shelf/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
A pkg/shelf/test/cascade_test.dart View 1 chunk +143 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 8 months ago (2014-04-24 21:55:29 UTC) #1
kevmoo
Ponder the const ctor case? https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart File pkg/shelf/lib/src/cascade.dart (right): https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart#newcode22 pkg/shelf/lib/src/cascade.dart:22: /// var handler = ...
6 years, 8 months ago (2014-04-25 00:32:31 UTC) #2
nweiz
https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart File pkg/shelf/lib/src/cascade.dart (right): https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart#newcode22 pkg/shelf/lib/src/cascade.dart:22: /// var handler = const Cascade() On 2014/04/25 00:32:31, ...
6 years, 8 months ago (2014-04-25 00:54:56 UTC) #3
kevmoo
LGTM https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart File pkg/shelf/lib/src/cascade.dart (right): https://codereview.chromium.org/258633006/diff/1/pkg/shelf/lib/src/cascade.dart#newcode22 pkg/shelf/lib/src/cascade.dart:22: /// var handler = const Cascade() On 2014/04/25 ...
6 years, 8 months ago (2014-04-25 13:26:04 UTC) #4
nweiz
https://codereview.chromium.org/258633006/diff/20001/pkg/shelf/lib/src/cascade.dart File pkg/shelf/lib/src/cascade.dart (right): https://codereview.chromium.org/258633006/diff/20001/pkg/shelf/lib/src/cascade.dart#newcode30 pkg/shelf/lib/src/cascade.dart:30: final Function _shouldCascade; On 2014/04/25 13:26:05, kevmoo wrote: > ...
6 years, 8 months ago (2014-04-25 18:23:34 UTC) #5
nweiz
Committed patchset #3 manually as r35437 (presubmit successful).
6 years, 8 months ago (2014-04-25 18:24:36 UTC) #6
kevmoo
6 years, 8 months ago (2014-04-25 21:55:10 UTC) #7
Message was sent while issue was closed.
:-)

https://codereview.chromium.org/258633006/diff/40001/pkg/shelf/lib/src/cascad...
File pkg/shelf/lib/src/cascade.dart (right):

https://codereview.chromium.org/258633006/diff/40001/pkg/shelf/lib/src/cascad...
pkg/shelf/lib/src/cascade.dart:84: Function _computeShouldCascade(Iterable<int>
statusCodes,
Woulda coulda used typedef here, too :-)

Powered by Google App Engine
This is Rietveld 408576698