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

Side by Side Diff: runtime/bin/security_context.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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
« no previous file with comments | « runtime/bin/secure_socket_utils.cc ('k') | runtime/bin/security_context.cc » ('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 (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_SECURITY_CONTEXT_H_ 5 #ifndef RUNTIME_BIN_SECURITY_CONTEXT_H_
6 #define RUNTIME_BIN_SECURITY_CONTEXT_H_ 6 #define RUNTIME_BIN_SECURITY_CONTEXT_H_
7 7
8 #include <openssl/ssl.h> 8 #include <openssl/ssl.h>
9 #include <openssl/x509.h> 9 #include <openssl/x509.h>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void LoadRootCertCache(const char* cache); 81 void LoadRootCertCache(const char* cache);
82 82
83 SSL_CTX* context_; 83 SSL_CTX* context_;
84 uint8_t* alpn_protocol_string_; 84 uint8_t* alpn_protocol_string_;
85 85
86 bool trust_builtin_; 86 bool trust_builtin_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(SSLCertContext); 88 DISALLOW_COPY_AND_ASSIGN(SSLCertContext);
89 }; 89 };
90 90
91
92 class X509Helper : public AllStatic { 91 class X509Helper : public AllStatic {
93 public: 92 public:
94 static Dart_Handle GetSubject(Dart_NativeArguments args); 93 static Dart_Handle GetSubject(Dart_NativeArguments args);
95 static Dart_Handle GetIssuer(Dart_NativeArguments args); 94 static Dart_Handle GetIssuer(Dart_NativeArguments args);
96 static Dart_Handle GetStartValidity(Dart_NativeArguments args); 95 static Dart_Handle GetStartValidity(Dart_NativeArguments args);
97 static Dart_Handle GetEndValidity(Dart_NativeArguments args); 96 static Dart_Handle GetEndValidity(Dart_NativeArguments args);
98 static Dart_Handle WrappedX509Certificate(X509* certificate); 97 static Dart_Handle WrappedX509Certificate(X509* certificate);
99 }; 98 };
100 99
101 } // namespace bin 100 } // namespace bin
102 } // namespace dart 101 } // namespace dart
103 102
104 #endif // RUNTIME_BIN_SECURITY_CONTEXT_H_ 103 #endif // RUNTIME_BIN_SECURITY_CONTEXT_H_
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket_utils.cc ('k') | runtime/bin/security_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698