Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Unified Diff: Source/modules/crypto/Crypto.h

Issue 15897025: Add window.crypto.subtle behind a runtime feature flag ("Crypto") (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on head Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.in ('k') | Source/modules/crypto/Crypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Crypto.h
diff --git a/Source/modules/crypto/Crypto.h b/Source/modules/crypto/Crypto.h
index 3e34ca1599864a5d9cd6592bb922ebc0b6272aeb..d4f5cda3ae92170a7f90b892691540722882ff60 100644
--- a/Source/modules/crypto/Crypto.h
+++ b/Source/modules/crypto/Crypto.h
@@ -30,6 +30,7 @@
#define Crypto_h
#include "bindings/v8/ScriptWrappable.h"
+#include "modules/crypto/SubtleCrypto.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -44,8 +45,12 @@ public:
void getRandomValues(ArrayBufferView*, ExceptionCode&);
+ SubtleCrypto* subtle();
+
private:
Crypto();
+
+ RefPtr<SubtleCrypto> m_subtleCrypto;
};
}
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.in ('k') | Source/modules/crypto/Crypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698