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

Issue 253123002: [refactor] Remove usages of WEBCRYPTO_HAS_ERROR_TYPE ifdef. (Closed)

Created:
6 years, 7 months ago by eroman
Modified:
6 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[refactor] Remove usages of WEBCRYPTO_HAS_ERROR_TYPE ifdef. No longer needed now that Blink has rolled. BUG=245025 R=rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267013

Patch Set 1 #

Patch Set 2 : Rebase now that threads is reverted... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -33 lines) Patch
M content/child/webcrypto/status.h View 1 1 chunk +0 lines, -20 lines 0 comments Download
M content/child/webcrypto/status.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/child/webcrypto/webcrypto_impl.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
eroman
6 years, 7 months ago (2014-04-29 15:28:40 UTC) #1
Ryan Sleevi
lgtm
6 years, 7 months ago (2014-04-29 18:47:07 UTC) #2
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-04-29 19:26:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/253123002/1
6 years, 7 months ago (2014-04-29 19:27:52 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 19:27:56 UTC) #5
commit-bot: I haz the power
Failed to apply patch for content/child/webcrypto/webcrypto_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-04-29 19:28:08 UTC) #6
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-04-29 22:44:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/253123002/10001
6 years, 7 months ago (2014-04-29 22:46:28 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 23:52:57 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-29 23:52:57 UTC) #10
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-04-30 00:46:30 UTC) #11
eroman
Committed patchset #2 manually as r267013 (presubmit successful).
6 years, 7 months ago (2014-04-30 00:47:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/253123002/10001
6 years, 7 months ago (2014-04-30 00:48:18 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 00:48:26 UTC) #14
Message was sent while issue was closed.
Failed to apply patch for content/child/webcrypto/status.cc:
While running patch -p1 --forward --force --no-backup-if-mismatch;
  patching file content/child/webcrypto/status.cc
  Hunk #1 FAILED at 122.
  1 out of 1 hunk FAILED -- saving rejects to file
content/child/webcrypto/status.cc.rej

Patch:       content/child/webcrypto/status.cc
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() {

Powered by Google App Engine
This is Rietveld 408576698