| Index: Source/modules/crypto/RsaHashedKeyAlgorithm.h
|
| diff --git a/Source/core/css/CSSFontSelectorClient.h b/Source/modules/crypto/RsaHashedKeyAlgorithm.h
|
| similarity index 78%
|
| copy from Source/core/css/CSSFontSelectorClient.h
|
| copy to Source/modules/crypto/RsaHashedKeyAlgorithm.h
|
| index 28a6c87742256f5224d530dc9d9110cf48f0a86e..db1af7badbaaf79234501aaa739c677124e24788 100644
|
| --- a/Source/core/css/CSSFontSelectorClient.h
|
| +++ b/Source/modules/crypto/RsaHashedKeyAlgorithm.h
|
| @@ -28,20 +28,27 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CSSFontSelectorClient_h
|
| -#define CSSFontSelectorClient_h
|
| +#ifndef RsaHashedKeyAlgorithm_h
|
| +#define RsaHashedKeyAlgorithm_h
|
|
|
| -namespace WebCore {
|
| +#include "modules/crypto/RsaKeyAlgorithm.h"
|
|
|
| -class CSSFontSelector;
|
| +namespace WebCore {
|
|
|
| -class CSSFontSelectorClient {
|
| +class RsaHashedKeyAlgorithm : public RsaKeyAlgorithm {
|
| public:
|
| - virtual ~CSSFontSelectorClient() { }
|
| + static PassRefPtrWillBeRawPtr<RsaHashedKeyAlgorithm> create(const blink::WebCryptoKeyAlgorithm&);
|
| +
|
| + KeyAlgorithm* hash();
|
| +
|
| + void trace(Visitor*);
|
| +
|
| +protected:
|
| + RsaHashedKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
|
|
|
| - virtual void fontsNeedUpdate(CSSFontSelector*) = 0;
|
| + RefPtrWillBeMember<KeyAlgorithm> m_hash;
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // CSSFontSelectorClient_h
|
| +#endif
|
|
|