1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_WEBCRYPTO_IMPL_H_
6 #define CONTENT_RENDERER_WEBCRYPTO_IMPL_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h"
11 #include "content/common/content_export.h"
12 #include "third_party/WebKit/public/platform/WebCrypto.h"
16 class CONTENT_EXPORT WebCryptoImpl
17 : NON_EXPORTED_BASE(public WebKit::WebCrypto
) {
22 const WebKit::WebCryptoAlgorithm
& algorithm
,
23 const unsigned char* data
,
25 WebKit::WebCryptoResult result
);
28 FRIEND_TEST_ALL_PREFIXES(WebCryptoImplTest
, DigestSampleSets
);
33 const WebKit::WebCryptoAlgorithm
& algorithm
,
34 const unsigned char* data
,
36 WebKit::WebArrayBuffer
* buffer
);
39 DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl
);
42 } // namespace content
44 #endif // CONTENT_RENDERER_WEBCRYPTO_IMPL_H_