| Index: public/platform/WebCryptoAlgorithmOperation.h
|
| diff --git a/public/platform/WebConnectionType.h b/public/platform/WebCryptoAlgorithmOperation.h
|
| similarity index 81%
|
| copy from public/platform/WebConnectionType.h
|
| copy to public/platform/WebCryptoAlgorithmOperation.h
|
| index db5b2aac298271f647a60b6ff6e8a30a2ef99ee3..501e6222a1d11e4a5bb6b0cd54ef92ec80f55cb6 100644
|
| --- a/public/platform/WebConnectionType.h
|
| +++ b/public/platform/WebCryptoAlgorithmOperation.h
|
| @@ -28,22 +28,27 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebConnectionType_h
|
| -#define WebConnectionType_h
|
| +#ifndef WebCryptoAlgorithmOperation_h
|
| +#define WebCryptoAlgorithmOperation_h
|
|
|
| namespace blink {
|
|
|
| -// Connection types from http://w3c.github.io/netinfo/.
|
| -enum WebConnectionType {
|
| - ConnectionTypeCellular = 0,
|
| - ConnectionTypeBluetooth,
|
| - ConnectionTypeEthernet,
|
| - ConnectionTypeWifi,
|
| - ConnectionTypeOther,
|
| - ConnectionTypeNone,
|
| - ConnectionTypeLast = ConnectionTypeNone
|
| +enum AlgorithmOperation {
|
| + Encrypt,
|
| + Decrypt,
|
| + Sign,
|
| + Verify,
|
| + Digest,
|
| + GenerateKey,
|
| + ImportKey,
|
| + DeriveKey,
|
| + DeriveBits,
|
| + WrapKey,
|
| + UnwrapKey,
|
| + // <---- End of list (keep this up-to-date)
|
| + LastAlgorithmOperation = UnwrapKey,
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebConnectionType_h
|
| +#endif
|
|
|