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

Issue 1146283004: Add a template-specialized constructor for der::Input for constants (Closed)

Created:
5 years, 7 months ago by Ryan Sleevi
Modified:
5 years, 7 months ago
Reviewers:
mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a template-specialized constructor for der::Input for constants Make it easier to create der::Input's from constants by the magical power of Templates. Old and busted: der::Input foo(kFoo, arraysize(kFoo)); New hotness: der::Input foo(kFoo); BUG=none R=mattm@chromium.org Committed: https://crrev.com/c415dfed788a32ad110d30f97a434b4cac99637b Cr-Commit-Position: refs/heads/master@{#330882}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M net/der/input.h View 1 chunk +5 lines, -0 lines 2 comments Download
M net/der/input_unittest.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Ryan Sleevi
Matt: Easy one for ya :)
5 years, 7 months ago (2015-05-21 00:53:06 UTC) #1
mattm
https://codereview.chromium.org/1146283004/diff/1/net/der/input.h File net/der/input.h (right): https://codereview.chromium.org/1146283004/diff/1/net/der/input.h#newcode53 net/der/input.h:53: explicit Input(const std::string& s); It occurs to me that ...
5 years, 7 months ago (2015-05-21 01:31:10 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/1146283004/diff/1/net/der/input.h File net/der/input.h (right): https://codereview.chromium.org/1146283004/diff/1/net/der/input.h#newcode53 net/der/input.h:53: explicit Input(const std::string& s); On 2015/05/21 01:31:10, mattm wrote: ...
5 years, 7 months ago (2015-05-21 01:38:13 UTC) #3
mattm
I see you filed a separate bug for that, so this one lgtm.
5 years, 7 months ago (2015-05-21 01:53:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146283004/1
5 years, 7 months ago (2015-05-21 01:55:47 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-21 04:32:11 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 04:34:02 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c415dfed788a32ad110d30f97a434b4cac99637b
Cr-Commit-Position: refs/heads/master@{#330882}

Powered by Google App Engine
This is Rietveld 408576698