[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / crypto / secure_hash.h
index b97487b..dab23b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
@@ -9,7 +9,6 @@
 
 #include <memory>
 
-#include "base/macros.h"
 #include "crypto/crypto_export.h"
 
 namespace crypto {
@@ -21,7 +20,12 @@ class CRYPTO_EXPORT SecureHash {
  public:
   enum Algorithm {
     SHA256,
+    SHA512,
   };
+
+  SecureHash(const SecureHash&) = delete;
+  SecureHash& operator=(const SecureHash&) = delete;
+
   virtual ~SecureHash() {}
 
   static std::unique_ptr<SecureHash> Create(Algorithm type);
@@ -37,9 +41,6 @@ class CRYPTO_EXPORT SecureHash {
 
  protected:
   SecureHash() {}
-
- private:
-  DISALLOW_COPY_AND_ASSIGN(SecureHash);
 };
 
 }  // namespace crypto