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*); |
haraken
2014/02/25 09:15:46
Add 'virtual' and 'OVERRIDE'. The same comment for
Mads Ager (chromium)
2014/02/25 09:34:18
Good catch Haraken! KeyAlgorithm.h does not have a
eroman
2014/02/26 01:37:36
Done.
|
+ |
+protected: |
+ RsaHashedKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&); |
haraken
2014/02/25 09:15:46
Add 'explicit'.
eroman
2014/02/26 01:37:36
Done.
eroman
2014/02/26 01:37:36
Done.
|
- virtual void fontsNeedUpdate(CSSFontSelector*) = 0; |
+ RefPtrWillBeMember<KeyAlgorithm> m_hash; |
haraken
2014/02/25 09:15:46
Can this be a private member?
eroman
2014/02/26 01:37:36
Done.
|
}; |
} // namespace WebCore |
-#endif // CSSFontSelectorClient_h |
+#endif |