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

Unified Diff: Source/modules/crypto/NormalizeAlgorithm.h

Issue 105433002: Cleanup: Rename NumberOfAlgorithmOperations --> LastAlgorithmOperation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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/Key.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/NormalizeAlgorithm.h
diff --git a/Source/modules/crypto/NormalizeAlgorithm.h b/Source/modules/crypto/NormalizeAlgorithm.h
index ffad50aa4fb1acb5c6d025d39e0c9140925dde5d..9565eb72b349f9c4c357a45abf603102b233fd5d 100644
--- a/Source/modules/crypto/NormalizeAlgorithm.h
+++ b/Source/modules/crypto/NormalizeAlgorithm.h
@@ -52,8 +52,8 @@ enum AlgorithmOperation {
DeriveKey,
WrapKey,
UnwrapKey,
- // <---- End of list
- NumberOfAlgorithmOperations,
+ // <---- End of list (keep this up-to-date)
+ LastAlgorithmOperation = UnwrapKey,
};
// Normalizes an algorithm identifier (dictionary) into a WebCryptoAlgorithm. If
« no previous file with comments | « Source/modules/crypto/Key.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698