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

Side by Side Diff: crypto/openpgp_symmetric_encryption.h

Issue 10695140: Remove #pragma once from crypto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « crypto/nss_util_internal.h ('k') | crypto/openssl_util.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_ 5 #ifndef CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_
6 #define CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_ 6 #define CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/string_piece.h" 10 #include "base/string_piece.h"
12 #include "crypto/crypto_export.h" 11 #include "crypto/crypto_export.h"
13 12
14 namespace crypto { 13 namespace crypto {
15 14
16 // OpenPGPSymmetricEncrytion implements enough of RFC 4880 to read and write 15 // OpenPGPSymmetricEncrytion implements enough of RFC 4880 to read and write
17 // uncompressed, symmetrically encrypted data. You can create ciphertext 16 // uncompressed, symmetrically encrypted data. You can create ciphertext
(...skipping 19 matching lines...) Expand all
37 std::string *out); 36 std::string *out);
38 37
39 static std::string Encrypt(base::StringPiece plaintext, 38 static std::string Encrypt(base::StringPiece plaintext,
40 base::StringPiece passphrase); 39 base::StringPiece passphrase);
41 }; 40 };
42 41
43 } // namespace crypto 42 } // namespace crypto
44 43
45 #endif // CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_ 44 #endif // CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_
46 45
OLDNEW
« no previous file with comments | « crypto/nss_util_internal.h ('k') | crypto/openssl_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698