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

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

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 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 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 #ifndef EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_ 5 #ifndef EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_
6 #define EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_ 6 #define EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
13 14
14 namespace extensions { 15 namespace extensions {
15 namespace api { 16 namespace api {
16 namespace cast_crypto { 17 namespace cast_crypto {
17 18
18 // Status of a certificate or certificate verification operation. 19 // Status of a certificate or certificate verification operation.
19 struct VerificationResult { 20 struct VerificationResult {
20 // Mapped to extensions::api::cast_channel::AuthResult::ErrorType in 21 // Mapped to extensions::api::cast_channel::AuthResult::ErrorType in
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 // Sets trusted certificate authorities. Only exposed for tests. 85 // Sets trusted certificate authorities. Only exposed for tests.
85 bool SetTrustedCertificateAuthoritiesForTest(const std::string& keys, 86 bool SetTrustedCertificateAuthoritiesForTest(const std::string& keys,
86 const std::string& signature); 87 const std::string& signature);
87 88
88 } // namespace cast_crypto 89 } // namespace cast_crypto
89 } // namespace api 90 } // namespace api
90 } // namespace extensions 91 } // namespace extensions
91 92
92 #endif // EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_ 93 #endif // EXTENSIONS_COMMON_CAST_CAST_CERT_VALIDATOR_H_
OLDNEW
« no previous file with comments | « extensions/common/api/sockets/sockets_manifest_permission_unittest.cc ('k') | extensions/common/cast/cast_cert_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698