|
|
Chromium Code Reviews
DescriptionDon't blindly do a prefix match when evaluating net::GetExtensionsForMimeType().
BUG=685932
Review-Url: https://codereview.chromium.org/2665953002
Cr-Commit-Position: refs/heads/master@{#447290}
Committed: https://chromium.googlesource.com/chromium/src/+/f6ef68261dc24e0500a99439575fdd9feeb712a6
Patch Set 1 #Patch Set 2 : fix for windows hopefully #
Total comments: 2
Patch Set 3 : Address Helen's comments #
Messages
Total messages: 22 (16 generated)
The CQ bit was checked by eroman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
eroman@chromium.org changed reviewers: + xunjieli@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was checked by eroman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm. Very neat! https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc#n... net/base/mime_util.cc:463: void GetExtensionsFromHardCodedMappings( nit: Could you add a comment on this function? (highlight the relationship between |prefix_match| and |mime_type|)
Thanks for the review! https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc#n... net/base/mime_util.cc:463: void GetExtensionsFromHardCodedMappings( On 2017/01/31 17:21:29, xunjieli wrote: > nit: Could you add a comment on this function? (highlight the relationship > between |prefix_match| and |mime_type|) Done, good idea.
The CQ bit was checked by eroman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/01/31 17:41:30, eroman (slow) wrote: > Thanks for the review! > > https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc > File net/base/mime_util.cc (right): > > https://codereview.chromium.org/2665953002/diff/20001/net/base/mime_util.cc#n... > net/base/mime_util.cc:463: void GetExtensionsFromHardCodedMappings( > On 2017/01/31 17:21:29, xunjieli wrote: > > nit: Could you add a comment on this function? (highlight the relationship > > between |prefix_match| and |mime_type|) > > Done, good idea. lgtm. thanks.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by eroman@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485889171702880,
"parent_rev": "1a5f2851a8a4cf5222a676dc8bcc7d52fc29a7f1", "commit_rev":
"f6ef68261dc24e0500a99439575fdd9feeb712a6"}
Message was sent while issue was closed.
Description was changed from ========== Don't blindly do a prefix match when evaluating net::GetExtensionsForMimeType(). BUG=685932 ========== to ========== Don't blindly do a prefix match when evaluating net::GetExtensionsForMimeType(). BUG=685932 Review-Url: https://codereview.chromium.org/2665953002 Cr-Commit-Position: refs/heads/master@{#447290} Committed: https://chromium.googlesource.com/chromium/src/+/f6ef68261dc24e0500a99439575f... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/f6ef68261dc24e0500a99439575f... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
