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

Unified Diff: net/cert/crl_set.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: net/cert/crl_set.h
diff --git a/net/cert/crl_set.h b/net/cert/crl_set.h
index 348005f097b75483aa5cd2819f8471c4b77e32b0..c236662394f77c9322b2d952fa428f5a6ddcbd99 100644
--- a/net/cert/crl_set.h
+++ b/net/cert/crl_set.h
@@ -34,8 +34,7 @@ class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> {
// Parse parses the bytes in |data| and, on success, puts a new CRLSet in
// |out_crl_set| and returns true.
- static bool Parse(base::StringPiece data,
- scoped_refptr<CRLSet>* out_crl_set);
+ static bool Parse(base::StringPiece data, scoped_refptr<CRLSet>* out_crl_set);
// CheckSPKI checks whether the given SPKI has been listed as blocked.
// spki_hash: the SHA256 of the SubjectPublicKeyInfo of the certificate.
@@ -46,9 +45,8 @@ class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> {
// serial_number: the serial number of the certificate
// issuer_spki_hash: the SHA256 of the SubjectPublicKeyInfo of the CRL
// signer
- Result CheckSerial(
- const base::StringPiece& serial_number,
- const base::StringPiece& issuer_spki_hash) const;
+ Result CheckSerial(const base::StringPiece& serial_number,
+ const base::StringPiece& issuer_spki_hash) const;
// IsExpired returns true iff the current time is past the NotAfter time
// specified in the CRLSet.
@@ -62,7 +60,7 @@ class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> {
// GetIsDeltaUpdate extracts the header from |bytes|, sets *is_delta to
// whether |bytes| is a delta CRL set or not and returns true. In the event
// of a parse error, it returns false.
- static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool *is_delta);
+ static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool* is_delta);
// Serialize returns a string of bytes suitable for passing to Parse. Parsing
// and serializing a CRLSet is a lossless operation - the resulting bytes
@@ -76,7 +74,7 @@ class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> {
// CRLList contains a list of (issuer SPKI hash, revoked serial numbers)
// pairs.
- typedef std::vector< std::pair<std::string, std::vector<std::string> > >
+ typedef std::vector<std::pair<std::string, std::vector<std::string> > >
CRLList;
// crls returns the internal state of this CRLSet. It should only be used in

Powered by Google App Engine
This is Rietveld 408576698