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

Side by Side Diff: net/cert/ct_log_verifier_util.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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 unified diff | Download patch
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 #include "net/cert/ct_log_verifier_util.h" 5 #include "net/cert/ct_log_verifier_util.h"
6 6
7 #include <stdint.h>
8
7 #include <cmath> 9 #include <cmath>
8 10
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
11 #include "crypto/secure_hash.h" 13 #include "crypto/secure_hash.h"
12 #include "crypto/sha2.h" 14 #include "crypto/sha2.h"
13 15
14 namespace net { 16 namespace net {
15 17
16 namespace ct { 18 namespace ct {
(...skipping 22 matching lines...) Expand all
39 hash->Finish(base::WriteInto(&result, crypto::kSHA256Length + 1), 41 hash->Finish(base::WriteInto(&result, crypto::kSHA256Length + 1),
40 crypto::kSHA256Length); 42 crypto::kSHA256Length);
41 return result; 43 return result;
42 } 44 }
43 45
44 } // namespace internal 46 } // namespace internal
45 47
46 } // namespace ct 48 } // namespace ct
47 49
48 } // namespace net 50 } // namespace net
OLDNEW
« no previous file with comments | « media/filters/vp8_bool_decoder.cc ('k') | net/quic/crypto/chacha20_poly1305_rfc7539_encrypter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698