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

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

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
Index: Source/modules/crypto/CryptoKey.cpp
diff --git a/Source/modules/crypto/CryptoKey.cpp b/Source/modules/crypto/CryptoKey.cpp
index 796cdf1c7c37e53ae3a932a4ab3c2eebe150d2ee..98b5597680063c38ced2547d81f75a8c1232877e 100644
--- a/Source/modules/crypto/CryptoKey.cpp
+++ b/Source/modules/crypto/CryptoKey.cpp
@@ -98,7 +98,7 @@ WebCryptoKeyUsageMask keyUsageStringToMask(const String& usageString)
return 0;
}
-class DictionaryBuilder : public blink::WebCryptoKeyAlgorithmDictionary {
+class DictionaryBuilder : public WebCryptoKeyAlgorithmDictionary {
public:
explicit DictionaryBuilder(V8ObjectBuilder& builder)
: m_builder(builder)
@@ -115,16 +115,16 @@ public:
m_builder.addNumber(propertyName, value);
}
- virtual void setAlgorithm(const char* propertyName, const blink::WebCryptoAlgorithm& algorithm)
+ virtual void setAlgorithm(const char* propertyName, const WebCryptoAlgorithm& algorithm)
{
- ASSERT(algorithm.paramsType() == blink::WebCryptoAlgorithmParamsTypeNone);
+ ASSERT(algorithm.paramsType() == WebCryptoAlgorithmParamsTypeNone);
V8ObjectBuilder algorithmValue(m_builder.scriptState());
- algorithmValue.addString("name", blink::WebCryptoAlgorithm::lookupAlgorithmInfo(algorithm.id())->name);
+ algorithmValue.addString("name", WebCryptoAlgorithm::lookupAlgorithmInfo(algorithm.id())->name);
m_builder.add(propertyName, algorithmValue);
}
- virtual void setUint8Array(const char* propertyName, const blink::WebVector<unsigned char>& vector)
+ virtual void setUint8Array(const char* propertyName, const WebVector<unsigned char>& vector)
{
m_builder.add(propertyName, DOMUint8Array::create(vector.data(), vector.size()));
}
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.h ('k') | Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698