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
This commit is contained in:
crypto
capi_util.hcrypto_export.hcrypto_module_blocking_password_delegate.hcssm_init.hec_private_key.hec_signature_creator.hec_signature_creator_impl.hencryptor.hhmac.hkeychain_mac.hmac_security_services_lock.hmock_keychain_mac.hnss_util.hnss_util_internal.hopenpgp_symmetric_encryption.hopenssl_util.hp224.hp224_spake.hrsa_private_key.hscoped_capi_types.hscoped_nss_types.hsecure_hash.hsecure_util.hsha2.hsignature_creator.hsignature_verifier.hsymmetric_key.h
third_party
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_EC_PRIVATE_KEY_H_
|
||||
#define CRYPTO_EC_PRIVATE_KEY_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_EC_SIGNATURE_CREATOR_H_
|
||||
#define CRYPTO_EC_SIGNATURE_CREATOR_H_
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_ENCRYPTOR_H_
|
||||
#define CRYPTO_ENCRYPTOR_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#ifndef CRYPTO_HMAC_H_
|
||||
#define CRYPTO_HMAC_H_
|
||||
#pragma once
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/compiler_specific.h"
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_KEYCHAIN_MAC_H_
|
||||
#define CRYPTO_KEYCHAIN_MAC_H_
|
||||
#pragma once
|
||||
|
||||
#include <Security/Security.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"
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_MOCK_KEYCHAIN_MAC_H_
|
||||
#define CRYPTO_MOCK_KEYCHAIN_MAC_H_
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_NSS_UTIL_H_
|
||||
#define CRYPTO_NSS_UTIL_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "base/basictypes.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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_SHA2_H_
|
||||
#define CRYPTO_SHA2_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_SIGNATURE_CREATOR_H_
|
||||
#define CRYPTO_SIGNATURE_CREATOR_H_
|
||||
#pragma once
|
||||
|
||||
#include "build/build_config.h"
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_SIGNATURE_VERIFIER_H_
|
||||
#define CRYPTO_SIGNATURE_VERIFIER_H_
|
||||
#pragma once
|
||||
|
||||
#include "build/build_config.h"
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef CRYPTO_SYMMETRIC_KEY_H_
|
||||
#define CRYPTO_SYMMETRIC_KEY_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
1
crypto/third_party/nss/chromium-nss.h
vendored
1
crypto/third_party/nss/chromium-nss.h
vendored
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user