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

Side by Side Diff: extensions/common/cast/cast_cert_validator.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: 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 | « extensions/common/cast/cast_cert_validator.h ('k') | extensions/common/constants.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/common/cast/cast_cert_validator.h" 5 #include "extensions/common/cast/cast_cert_validator.h"
6 6
7 #include <openssl/digest.h> 7 #include <openssl/digest.h>
8 #include <openssl/evp.h> 8 #include <openssl/evp.h>
9 #include <openssl/rsa.h> 9 #include <openssl/rsa.h>
10 #include <openssl/x509.h> 10 #include <openssl/x509.h>
11 #include <stddef.h>
12 #include <stdint.h>
11 #include <utility> 13 #include <utility>
12 14
13 #include "base/logging.h" 15 #include "base/logging.h"
14 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
17 #include "crypto/openssl_util.h" 19 #include "crypto/openssl_util.h"
18 #include "crypto/scoped_openssl_types.h" 20 #include "crypto/scoped_openssl_types.h"
19 #include "extensions/browser/api/cast_channel/cast_auth_ica.h" 21 #include "extensions/browser/api/cast_channel/cast_auth_ica.h"
20 #include "net/cert/x509_certificate.h" 22 #include "net/cert/x509_certificate.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 159
158 bool SetTrustedCertificateAuthoritiesForTest(const std::string& keys, 160 bool SetTrustedCertificateAuthoritiesForTest(const std::string& keys,
159 const std::string& signature) { 161 const std::string& signature) {
160 return extensions::api::cast_channel::SetTrustedCertificateAuthorities( 162 return extensions::api::cast_channel::SetTrustedCertificateAuthorities(
161 keys, signature); 163 keys, signature);
162 } 164 }
163 165
164 } // namespace cast_crypto 166 } // namespace cast_crypto
165 } // namespace api 167 } // namespace api
166 } // namespace extensions 168 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/cast/cast_cert_validator.h ('k') | extensions/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698