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

Unified Diff: Source/modules/crypto/SubtleCrypto.cpp

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/modules/crypto/SubtleCrypto.h ('k') | Source/modules/crypto/SubtleCrypto.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/SubtleCrypto.cpp
diff --git a/Source/modules/indexeddb/IDBHistograms.h b/Source/modules/crypto/SubtleCrypto.cpp
similarity index 83%
copy from Source/modules/indexeddb/IDBHistograms.h
copy to Source/modules/crypto/SubtleCrypto.cpp
index d58f088bd93b68a5de5c4d85660c04991d7c8339..509d56585a70a4df25300660b6c51cdf48e25cf9 100644
--- a/Source/modules/indexeddb/IDBHistograms.h
+++ b/Source/modules/crypto/SubtleCrypto.cpp
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3. Neither the name of Google, Inc. ("Google") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -26,20 +26,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBHistograms_h
-#define IDBHistograms_h
-namespace WebCore {
+#include "config.h"
+#include "modules/crypto/SubtleCrypto.h"
+
+#include "core/dom/ExceptionCode.h"
+#include "wtf/ArrayBufferView.h"
-enum IndexedDatabaseMethods {
- IDBCreateObjectStoreCall,
- IDBDeleteObjectStoreCall,
- IDBTransactionCall,
- IDBDeleteDatabaseCall,
- IDBOpenCall,
- IDBMethodsMax,
-};
+namespace WebCore {
+SubtleCrypto::SubtleCrypto()
+{
+ ScriptWrappable::init(this);
}
-#endif
+}
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.h ('k') | Source/modules/crypto/SubtleCrypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698