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

Unified Diff: content/child/webcrypto/status.cc

Issue 253123002: [refactor] Remove usages of WEBCRYPTO_HAS_ERROR_TYPE ifdef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase now that threads is reverted... Created 6 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
« no previous file with comments | « content/child/webcrypto/status.h ('k') | content/child/webcrypto/webcrypto_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.cc
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
index 6cc7be154b5c0b45ef10edf964172435013c3b95..4fbfd709874742f69c7b412c2de030c311bee196 100644
--- a/content/child/webcrypto/status.cc
+++ b/content/child/webcrypto/status.cc
@@ -122,11 +122,7 @@ Status Status::ErrorImportEmptyKeyData() {
Status Status::ErrorImportAesKeyLength() {
return Status(blink::WebCryptoErrorTypeData,
-#if defined(WEBCRYPTO_HAS_ERROR_TYPE)
"AES key data must be 128, 192 or 256 bits");
-#else
- "");
-#endif
}
Status Status::ErrorUnexpectedKeyType() {
« no previous file with comments | « content/child/webcrypto/status.h ('k') | content/child/webcrypto/webcrypto_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698