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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/Algorithm.h ('k') | Source/modules/crypto/CryptoResultImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Algorithm.cpp
diff --git a/Source/modules/crypto/Algorithm.cpp b/Source/modules/crypto/Algorithm.cpp
index 46f6b532795225ebe394b2ffed610da8b38ca342..89a51724a742bf7c2abaad929f7c1abcae3f028e 100644
--- a/Source/modules/crypto/Algorithm.cpp
+++ b/Source/modules/crypto/Algorithm.cpp
@@ -43,25 +43,25 @@
namespace WebCore {
-PassRefPtr<Algorithm> Algorithm::create(const WebKit::WebCryptoAlgorithm& algorithm)
+PassRefPtr<Algorithm> Algorithm::create(const blink::WebCryptoAlgorithm& algorithm)
{
switch (algorithm.paramsType()) {
- case WebKit::WebCryptoAlgorithmParamsTypeNone:
+ case blink::WebCryptoAlgorithmParamsTypeNone:
return adoptRef(new Algorithm(algorithm));
- case WebKit::WebCryptoAlgorithmParamsTypeAesCbcParams:
+ case blink::WebCryptoAlgorithmParamsTypeAesCbcParams:
return AesCbcParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeAesKeyGenParams:
+ case blink::WebCryptoAlgorithmParamsTypeAesKeyGenParams:
return AesKeyGenParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeHmacParams:
+ case blink::WebCryptoAlgorithmParamsTypeHmacParams:
return HmacParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeHmacKeyParams:
+ case blink::WebCryptoAlgorithmParamsTypeHmacKeyParams:
return HmacKeyParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeRsaSsaParams:
+ case blink::WebCryptoAlgorithmParamsTypeRsaSsaParams:
return RsaSsaParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeRsaKeyGenParams:
+ case blink::WebCryptoAlgorithmParamsTypeRsaKeyGenParams:
return RsaKeyGenParams::create(algorithm);
- case WebKit::WebCryptoAlgorithmParamsTypeAesGcmParams:
- case WebKit::WebCryptoAlgorithmParamsTypeRsaOaepParams:
+ case blink::WebCryptoAlgorithmParamsTypeAesGcmParams:
+ case blink::WebCryptoAlgorithmParamsTypeRsaOaepParams:
// TODO
notImplemented();
break;
@@ -70,7 +70,7 @@ PassRefPtr<Algorithm> Algorithm::create(const WebKit::WebCryptoAlgorithm& algori
return 0;
}
-Algorithm::Algorithm(const WebKit::WebCryptoAlgorithm& algorithm)
+Algorithm::Algorithm(const blink::WebCryptoAlgorithm& algorithm)
: m_algorithm(algorithm)
{
ScriptWrappable::init(this);
« no previous file with comments | « Source/modules/crypto/Algorithm.h ('k') | Source/modules/crypto/CryptoResultImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698