Chromium Code Reviews| Index: content/child/webcrypto/crypto_data.h |
| diff --git a/content/child/webcrypto/crypto_data.h b/content/child/webcrypto/crypto_data.h |
| index d12d116dc874418f1fb170f53bb7345d0ed69e9b..2433dd7ea1c4e34626eb42528056af0af0540801 100644 |
| --- a/content/child/webcrypto/crypto_data.h |
| +++ b/content/child/webcrypto/crypto_data.h |
| @@ -12,10 +12,6 @@ |
| #include "content/common/content_export.h" |
| #include "third_party/WebKit/public/platform/WebVector.h" |
| -namespace blink { |
| -class WebArrayBuffer; |
| -} |
| - |
| namespace content { |
| namespace webcrypto { |
| @@ -36,7 +32,6 @@ class CONTENT_EXPORT CryptoData { |
| // remain valid for the lifetime of CryptoData. |
| explicit CryptoData(const std::vector<unsigned char>& bytes); |
| explicit CryptoData(const std::string& bytes); |
| - explicit CryptoData(const blink::WebArrayBuffer& buffer); |
| explicit CryptoData(const blink::WebVector<unsigned char>& bytes); |
| const unsigned char* bytes() const { return bytes_; } |
| @@ -45,8 +40,6 @@ class CONTENT_EXPORT CryptoData { |
| private: |
| const unsigned char* const bytes_; |
| const unsigned int byte_length_; |
| - |
| - DISALLOW_COPY_AND_ASSIGN(CryptoData); |
|
Ryan Sleevi
2014/04/30 02:10:01
Why delete this?
eroman
2014/04/30 18:35:53
In order to get the copy constructor. The macros I
|
| }; |
| } // namespace webcrypto |