diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 07:19:14 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 07:19:14 +0000 |
commit | cf21188c75cd525d8cd24515cc137ca61efe9408 (patch) | |
tree | f962e3b4497255218e031bb415a05f7030a2ea2a | |
parent | 4ac92c53393b3800c67be15c7108d0f82c14b2a7 (diff) | |
download | chromium_src-cf21188c75cd525d8cd24515cc137ca61efe9408.zip chromium_src-cf21188c75cd525d8cd24515cc137ca61efe9408.tar.gz chromium_src-cf21188c75cd525d8cd24515cc137ca61efe9408.tar.bz2 |
Remove #pragma once from crypto
Review URL: https://chromiumcodereview.appspot.com/10695140
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146077 0039d316-1c4b-4281-b951-d872f2087c98
28 files changed, 14 insertions, 42 deletions
diff --git a/crypto/capi_util.h b/crypto/capi_util.h index 1786a24..09a44e7 100644 --- a/crypto/capi_util.h +++ b/crypto/capi_util.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_CAPI_UTIL_H_ #define CRYPTO_CAPI_UTIL_H_ -#pragma once #include <windows.h> #include <wincrypt.h> diff --git a/crypto/crypto_export.h b/crypto/crypto_export.h index 2806dc8..f8b0b6c 100644 --- a/crypto/crypto_export.h +++ b/crypto/crypto_export.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_CRYPTO_EXPORT_H_ #define CRYPTO_CRYPTO_EXPORT_H_ -#pragma once #if defined(COMPONENT_BUILD) #if defined(WIN32) diff --git a/crypto/crypto_module_blocking_password_delegate.h b/crypto/crypto_module_blocking_password_delegate.h index 847f484..c4acf1a 100644 --- a/crypto/crypto_module_blocking_password_delegate.h +++ b/crypto/crypto_module_blocking_password_delegate.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_CRYPTO_MODULE_BLOCKING_PASSWORD_DELEGATE_H_ #define CRYPTO_CRYPTO_MODULE_BLOCKING_PASSWORD_DELEGATE_H_ -#pragma once #include <string> diff --git a/crypto/cssm_init.h b/crypto/cssm_init.h index 0e9ed32..e711099 100644 --- a/crypto/cssm_init.h +++ b/crypto/cssm_init.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_CSSM_INIT_H_ #define CRYPTO_CSSM_INIT_H_ -#pragma once #include <Security/cssm.h> diff --git a/crypto/ec_private_key.h b/crypto/ec_private_key.h index bfd0862..d3f5b73 100644 --- a/crypto/ec_private_key.h +++ b/crypto/ec_private_key.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_EC_PRIVATE_KEY_H_ #define CRYPTO_EC_PRIVATE_KEY_H_ -#pragma once #include <string> #include <vector> diff --git a/crypto/ec_signature_creator.h b/crypto/ec_signature_creator.h index 610b9f0..b557daa 100644 --- a/crypto/ec_signature_creator.h +++ b/crypto/ec_signature_creator.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_EC_SIGNATURE_CREATOR_H_ #define CRYPTO_EC_SIGNATURE_CREATOR_H_ -#pragma once #include <vector> diff --git a/crypto/ec_signature_creator_impl.h b/crypto/ec_signature_creator_impl.h index 6f17ef6..f8baf86 100644 --- a/crypto/ec_signature_creator_impl.h +++ b/crypto/ec_signature_creator_impl.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_EC_SIGNATURE_CREATOR_IMPL_H_ #define CRYPTO_EC_SIGNATURE_CREATOR_IMPL_H_ -#pragma once #include "base/compiler_specific.h" #include "crypto/ec_signature_creator.h" diff --git a/crypto/encryptor.h b/crypto/encryptor.h index f2c0c8b..773be22 100644 --- a/crypto/encryptor.h +++ b/crypto/encryptor.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_ENCRYPTOR_H_ #define CRYPTO_ENCRYPTOR_H_ -#pragma once #include <string> diff --git a/crypto/hmac.h b/crypto/hmac.h index dfbe1e7..c9bae65 100644 --- a/crypto/hmac.h +++ b/crypto/hmac.h @@ -7,7 +7,6 @@ #ifndef CRYPTO_HMAC_H_ #define CRYPTO_HMAC_H_ -#pragma once #include "base/basictypes.h" #include "base/compiler_specific.h" diff --git a/crypto/keychain_mac.h b/crypto/keychain_mac.h index cde96b3..bbcf8b1 100644 --- a/crypto/keychain_mac.h +++ b/crypto/keychain_mac.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_KEYCHAIN_MAC_H_ #define CRYPTO_KEYCHAIN_MAC_H_ -#pragma once #include <Security/Security.h> diff --git a/crypto/mac_security_services_lock.h b/crypto/mac_security_services_lock.h index f857cda..06850cd 100644 --- a/crypto/mac_security_services_lock.h +++ b/crypto/mac_security_services_lock.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ #define CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ -#pragma once #include "crypto/crypto_export.h" diff --git a/crypto/mock_keychain_mac.h b/crypto/mock_keychain_mac.h index 51f7251..6ed3fb5 100644 --- a/crypto/mock_keychain_mac.h +++ b/crypto/mock_keychain_mac.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_MOCK_KEYCHAIN_MAC_H_ #define CRYPTO_MOCK_KEYCHAIN_MAC_H_ -#pragma once #include <map> #include <set> diff --git a/crypto/nss_util.h b/crypto/nss_util.h index 0c141b6..88d7d05 100644 --- a/crypto/nss_util.h +++ b/crypto/nss_util.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_NSS_UTIL_H_ #define CRYPTO_NSS_UTIL_H_ -#pragma once #include <string> #include "base/basictypes.h" diff --git a/crypto/nss_util_internal.h b/crypto/nss_util_internal.h index ebb1844..056ec28 100644 --- a/crypto/nss_util_internal.h +++ b/crypto/nss_util_internal.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_NSS_UTIL_INTERNAL_H_ #define CRYPTO_NSS_UTIL_INTERNAL_H_ -#pragma once #include <secmodt.h> diff --git a/crypto/openpgp_symmetric_encryption.h b/crypto/openpgp_symmetric_encryption.h index 691fdf2..f70f2cb 100644 --- a/crypto/openpgp_symmetric_encryption.h +++ b/crypto/openpgp_symmetric_encryption.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_ #define CRYPTO_OPENPGP_SYMMETRIC_ENCRYPTION_H_ -#pragma once #include <string> diff --git a/crypto/openssl_util.h b/crypto/openssl_util.h index 0d784a8..577749e 100644 --- a/crypto/openssl_util.h +++ b/crypto/openssl_util.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_OPENSSL_UTIL_H_ #define CRYPTO_OPENSSL_UTIL_H_ -#pragma once #include "base/basictypes.h" #include "base/location.h" diff --git a/crypto/p224.h b/crypto/p224.h index 412ca99..815be16 100644 --- a/crypto/p224.h +++ b/crypto/p224.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_P224_H_ #define CRYPTO_P224_H_ -#pragma once #include <string> diff --git a/crypto/p224_spake.h b/crypto/p224_spake.h index 01507c9..1711d56 100644 --- a/crypto/p224_spake.h +++ b/crypto/p224_spake.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_P224_SPAKE_H_ #define CRYPTO_P224_SPAKE_H_ -#pragma once #include <base/string_piece.h> #include <crypto/p224.h> diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h index 4262a8d..7a1dccd 100644 --- a/crypto/rsa_private_key.h +++ b/crypto/rsa_private_key.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_RSA_PRIVATE_KEY_H_ #define CRYPTO_RSA_PRIVATE_KEY_H_ -#pragma once #include "build/build_config.h" diff --git a/crypto/scoped_capi_types.h b/crypto/scoped_capi_types.h index 51e2f72..16a5192 100644 --- a/crypto/scoped_capi_types.h +++ b/crypto/scoped_capi_types.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_SCOPED_CAPI_TYPES_H_ #define CRYPTO_SCOPED_CAPI_TYPES_H_ -#pragma once #include <windows.h> #include <wincrypt.h> diff --git a/crypto/scoped_nss_types.h b/crypto/scoped_nss_types.h index 9bb9968..da90fea 100644 --- a/crypto/scoped_nss_types.h +++ b/crypto/scoped_nss_types.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_SCOPED_NSS_TYPES_H_ #define CRYPTO_SCOPED_NSS_TYPES_H_ -#pragma once #include <keyhi.h> #include <nss.h> diff --git a/crypto/secure_hash.h b/crypto/secure_hash.h index 28b78c1..173fd0a 100644 --- a/crypto/secure_hash.h +++ b/crypto/secure_hash.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_SECURE_HASH_H_ #define CRYPTO_SECURE_HASH_H_ -#pragma once #include "base/basictypes.h" #include "crypto/crypto_export.h" diff --git a/crypto/secure_util.h b/crypto/secure_util.h index 1db38ac..cfe05ca 100644 --- a/crypto/secure_util.h +++ b/crypto/secure_util.h @@ -1,10 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTO_SECURE_UTIL_H_ #define CRYPTO_SECURE_UTIL_H_ -#pragma once #include <stddef.h> diff --git a/crypto/sha2.h b/crypto/sha2.h index 4aae6a0..e235f82 100644 --- a/crypto/sha2.h +++ b/crypto/sha2.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_SHA2_H_ #define CRYPTO_SHA2_H_ -#pragma once #include <string> diff --git a/crypto/signature_creator.h b/crypto/signature_creator.h index 63512b8..8d25c4d 100644 --- a/crypto/signature_creator.h +++ b/crypto/signature_creator.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_SIGNATURE_CREATOR_H_ #define CRYPTO_SIGNATURE_CREATOR_H_ -#pragma once #include "build/build_config.h" diff --git a/crypto/signature_verifier.h b/crypto/signature_verifier.h index ad23188..505ed0c 100644 --- a/crypto/signature_verifier.h +++ b/crypto/signature_verifier.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_SIGNATURE_VERIFIER_H_ #define CRYPTO_SIGNATURE_VERIFIER_H_ -#pragma once #include "build/build_config.h" diff --git a/crypto/symmetric_key.h b/crypto/symmetric_key.h index 1bd9f96..cce2a9b 100644 --- a/crypto/symmetric_key.h +++ b/crypto/symmetric_key.h @@ -4,7 +4,6 @@ #ifndef CRYPTO_SYMMETRIC_KEY_H_ #define CRYPTO_SYMMETRIC_KEY_H_ -#pragma once #include <string> diff --git a/crypto/third_party/nss/chromium-nss.h b/crypto/third_party/nss/chromium-nss.h index ab4726a..5ef28e3 100644 --- a/crypto/third_party/nss/chromium-nss.h +++ b/crypto/third_party/nss/chromium-nss.h @@ -36,7 +36,6 @@ #ifndef CRYPTO_THIRD_PARTY_NSS_CHROMIUM_NSS_H_ #define CRYPTO_THIRD_PARTY_NSS_CHROMIUM_NSS_H_ -#pragma once // This file contains some functions we borrowed from NSS. |