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

Side by Side Diff: net/der/parse_values.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/der/input.h ('k') | net/der/parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DER_PARSE_VALUES_H_ 5 #ifndef NET_DER_PARSE_VALUES_H_
6 #define NET_DER_PARSE_VALUES_H_ 6 #define NET_DER_PARSE_VALUES_H_
7 7
8 #include <stdint.h>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
10 #include "net/der/input.h" 12 #include "net/der/input.h"
11 13
12 namespace net { 14 namespace net {
13 15
14 namespace der { 16 namespace der {
15 17
16 // Reads a DER-encoded ASN.1 BOOLEAN value from |in| and puts the resulting 18 // Reads a DER-encoded ASN.1 BOOLEAN value from |in| and puts the resulting
17 // value in |out|. Returns whether the encoded value could successfully be 19 // value in |out|. Returns whether the encoded value could successfully be
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // DER rules - it follows the rules from RFC5280, which does not allow for 117 // DER rules - it follows the rules from RFC5280, which does not allow for
116 // fractional seconds. 118 // fractional seconds.
117 NET_EXPORT bool ParseGeneralizedTime(const Input& in, 119 NET_EXPORT bool ParseGeneralizedTime(const Input& in,
118 GeneralizedTime* out) WARN_UNUSED_RESULT; 120 GeneralizedTime* out) WARN_UNUSED_RESULT;
119 121
120 } // namespace der 122 } // namespace der
121 123
122 } // namespace net 124 } // namespace net
123 125
124 #endif // NET_DER_PARSE_VALUES_H_ 126 #endif // NET_DER_PARSE_VALUES_H_
OLDNEW
« no previous file with comments | « net/der/input.h ('k') | net/der/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698