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

Issue 2331323005: Harden an API that takes base::StringPiece to give a compile error if (Closed)

Created:
4 years, 3 months ago by eroman
Modified:
4 years, 3 months ago
Reviewers:
mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Harden an API that takes base::StringPiece to give a compile error if ever a naked const char* is passed in. I hit this bug while doing a refactor, so ensuring it can't happen again for this callsite seems prudent. BUG=634443 Committed: https://crrev.com/4c511204009505c9bc9193785ea3c109a4e2a227 Cr-Commit-Position: refs/heads/master@{#418593}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M net/cert/internal/parsed_certificate.h View 1 chunk +18 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (9 generated)
eroman
This seems really silly, but I hit this bug no less than 3 times while ...
4 years, 3 months ago (2016-09-13 23:55:09 UTC) #4
mattm
lgtm
4 years, 3 months ago (2016-09-14 02:31:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2331323005/1
4 years, 3 months ago (2016-09-14 16:52:40 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-14 16:57:41 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 17:00:57 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4c511204009505c9bc9193785ea3c109a4e2a227
Cr-Commit-Position: refs/heads/master@{#418593}

Powered by Google App Engine
This is Rietveld 408576698