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

Issue 1390353008: Add a DataUri class. (Closed)

Created:
5 years, 2 months ago by nweiz
Modified:
5 years, 2 months ago
Reviewers:
kevmoo
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/http_parser@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add a DataUri class. This supports encoding and decoding data URIs, using both bytes and strings. R=kevmoo@google.com Committed: https://github.com/dart-lang/http_parser/commit/4ef269538eafda236ddb24e514ebec97acd9cf25

Patch Set 1 #

Patch Set 2 : Behavior fixes #

Patch Set 3 : merge #

Total comments: 6

Patch Set 4 : Code review changes #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -3 lines) Patch
M CHANGELOG.md View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M lib/http_parser.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A lib/src/data_uri.dart View 1 1 chunk +327 lines, -0 lines 4 comments Download
M pubspec.yaml View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
A test/data_uri_test.dart View 1 1 chunk +241 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nweiz
5 years, 2 months ago (2015-10-15 01:12:15 UTC) #1
kevmoo
Suggestion to add this to dart:core – we should align
5 years, 2 months ago (2015-10-15 16:05:59 UTC) #2
kevmoo
start w/ these things... https://codereview.chromium.org/1390353008/diff/40001/lib/src/data_uri.dart File lib/src/data_uri.dart (right): https://codereview.chromium.org/1390353008/diff/40001/lib/src/data_uri.dart#newcode137 lib/src/data_uri.dart:137: mediaType ??= new MediaType('text', 'plain'); ...
5 years, 2 months ago (2015-10-19 22:45:21 UTC) #3
nweiz
Code review changes
5 years, 2 months ago (2015-10-19 23:08:22 UTC) #4
nweiz
https://codereview.chromium.org/1390353008/diff/40001/lib/src/data_uri.dart File lib/src/data_uri.dart (right): https://codereview.chromium.org/1390353008/diff/40001/lib/src/data_uri.dart#newcode137 lib/src/data_uri.dart:137: mediaType ??= new MediaType('text', 'plain'); On 2015/10/19 22:45:21, kevmoo ...
5 years, 2 months ago (2015-10-19 23:08:32 UTC) #5
kevmoo
lgtm https://codereview.chromium.org/1390353008/diff/60001/lib/src/data_uri.dart File lib/src/data_uri.dart (right): https://codereview.chromium.org/1390353008/diff/60001/lib/src/data_uri.dart#newcode243 lib/src/data_uri.dart:243: watch trailing whitespace https://codereview.chromium.org/1390353008/diff/60001/lib/src/data_uri.dart#newcode262 lib/src/data_uri.dart:262: scanner.error("Invalid token."); I ...
5 years, 2 months ago (2015-10-19 23:46:49 UTC) #6
nweiz
https://codereview.chromium.org/1390353008/diff/60001/lib/src/data_uri.dart File lib/src/data_uri.dart (right): https://codereview.chromium.org/1390353008/diff/60001/lib/src/data_uri.dart#newcode243 lib/src/data_uri.dart:243: On 2015/10/19 23:46:49, kevmoo wrote: > watch trailing whitespace ...
5 years, 2 months ago (2015-10-20 21:29:22 UTC) #7
nweiz
5 years, 2 months ago (2015-10-20 21:29:34 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
4ef269538eafda236ddb24e514ebec97acd9cf25 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698