diff options
author | eroman <eroman@chromium.org> | 2015-05-07 14:39:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-07 21:39:40 +0000 |
commit | bd8fa8ef843edba0f4a8c49fdb6eda1bd5994c97 (patch) | |
tree | 2e3a574c1c37c11d52e1e540ab1d88acc16ee110 /net/der/parser.cc | |
parent | 9013c17f35813b7d382622ac04e42c63d64e55a4 (diff) | |
download | chromium_src-bd8fa8ef843edba0f4a8c49fdb6eda1bd5994c97.zip chromium_src-bd8fa8ef843edba0f4a8c49fdb6eda1bd5994c97.tar.gz chromium_src-bd8fa8ef843edba0f4a8c49fdb6eda1bd5994c97.tar.bz2 |
Address some minor nits in net/der.
* ifdef name to match filepath
* Add some newlines
* Delete a duplicated comment in .cc from header
* update a variable name in comment block
BUG=None
Review URL: https://codereview.chromium.org/1132613002
Cr-Commit-Position: refs/heads/master@{#328840}
Diffstat (limited to 'net/der/parser.cc')
-rw-r--r-- | net/der/parser.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/der/parser.cc b/net/der/parser.cc index 7263fba..af541cc 100644 --- a/net/der/parser.cc +++ b/net/der/parser.cc @@ -13,12 +13,11 @@ namespace der { Parser::Parser() : input_(Input()), advance_mark_(Mark::NullMark()) { } + Parser::Parser(const Input& input) : input_(input), advance_mark_(Mark::NullMark()) { } -// Reads the next TLV from the input and writes the tag and value to the -// output parameters |tag| and |out|. bool Parser::PeekTagAndValue(Tag* tag, Input* out) { ByteReader reader = input_; |