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

Side by Side Diff: net/base/openssl_private_key_store.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ 5 #ifndef NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_
6 #define NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ 6 #define NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 // Avoid including <openssl/evp.h> 10 // Avoid including <openssl/evp.h>
(...skipping 25 matching lines...) Expand all
36 36
37 // Checks that the private key for a given public key is installed. 37 // Checks that the private key for a given public key is installed.
38 // |pub_key| a public key. 38 // |pub_key| a public key.
39 // Returns true if there is a private key that was previously 39 // Returns true if there is a private key that was previously
40 // recorded through StoreKeyPair(). 40 // recorded through StoreKeyPair().
41 // NOTE: Intentionally not implemented on Android because there is no 41 // NOTE: Intentionally not implemented on Android because there is no
42 // platform API that can perform this operation silently. 42 // platform API that can perform this operation silently.
43 static bool HasPrivateKey(EVP_PKEY* pub_key); 43 static bool HasPrivateKey(EVP_PKEY* pub_key);
44 44
45 private: 45 private:
46 OpenSSLPrivateKeyStore(); // not implemented. 46 OpenSSLPrivateKeyStore(); // not implemented.
47 ~OpenSSLPrivateKeyStore(); // not implemented. 47 ~OpenSSLPrivateKeyStore(); // not implemented.
48 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore); 48 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore);
49 }; 49 };
50 50
51 } // namespace net 51 } // namespace net
52 52
53 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ 53 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698