Searched refs:completeWithError (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebContentDecryptionModuleResult.cpp24 void WebContentDecryptionModuleResult::completeWithError(WebContentDecryptionModuleException exception, unsigned long systemCode, const WebString& errorMessage) function in class:blink::WebContentDecryptionModuleResult
26 m_impl->completeWithError(exception, systemCode, errorMessage);
H A DWebContentDecryptionModuleSession.cpp33 result.completeWithError(WebContentDecryptionModuleExceptionUnknownError, 0, "Not implemented.");
H A DWebCryptoResult.cpp41 void WebCryptoResult::completeWithError(WebCryptoErrorType errorType, const WebString& errorDetails) function in class:blink::WebCryptoResult
43 m_impl->completeWithError(errorType, errorDetails);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCrypto.h86 BLINK_PLATFORM_EXPORT void completeWithError(WebCryptoErrorType, const WebString&);
208 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
209 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
210 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
211 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, unsigned signatureSize, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
212 virtual void digest(const WebCryptoAlgorithm&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
213 virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
214 virtual void importKey(WebCryptoKeyFormat, const unsigned char* keyData, unsigned keyDataSize, const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
215 virtual void exportKey(WebCryptoKeyFormat, const WebCryptoKey&, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
216 virtual void wrapKey(WebCryptoKeyFormat, const WebCryptoKey& key, const WebCryptoKey& wrappingKey, const WebCryptoAlgorithm&, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupporte
[all...]
H A DWebContentDecryptionModuleResult.h55 BLINK_PLATFORM_EXPORT void completeWithError(WebContentDecryptionModuleException, unsigned long systemCode, const WebString& message);
H A DWebMediaPlayer.h163 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, WebContentDecryptionModuleResult result) { result.completeWithError(WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR"); }
/external/chromium_org/third_party/WebKit/Source/platform/
H A DContentDecryptionModuleResult.h23 virtual void completeWithError(WebContentDecryptionModuleException, unsigned long systemCode, const WebString&) = 0;
H A DCryptoResult.h44 virtual void completeWithError(WebCryptoErrorType, const WebString&) = 0;
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DCryptoKey.cpp167 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key.usages does not permit this operation");
172 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key.algorithm does not match that of operation");
199 result->completeWithError(WebCryptoErrorTypeSyntax, "Invalid keyFormat argument");
209 result->completeWithError(WebCryptoErrorTypeSyntax, "Invalid keyUsages argument");
H A DCryptoResultImpl.h62 virtual void completeWithError(WebCryptoErrorType, const WebString&) OVERRIDE;
H A DSubtleCrypto.cpp53 result->completeWithError(WebCryptoErrorTypeType, WebString(message));
63 result->completeWithError(WebCryptoErrorTypeType, WebString(message));
74 result->completeWithError(error.errorType, error.errorDetails);
83 result->completeWithError(WebCryptoErrorTypeNotSupported, errorMessage);
171 result->completeWithError(WebCryptoErrorTypeData, "The required JWK property \"kty\" was missing");
257 result->completeWithError(WebCryptoErrorTypeData, "Key data must be an object for JWK import");
290 result->completeWithError(WebCryptoErrorTypeData, "Key data must be a buffer for non-JWK formats");
322 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key is not extractable");
353 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key is not extractable");
H A DCryptoResultImpl.cpp111 void CryptoResultImpl::completeWithError(WebCryptoErrorType errorType, const WebString& errorDetails) function in class:blink::CryptoResultImpl
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
H A DSimpleContentDecryptionModuleResult.h23 // promise with undefined, while completeWithError() reject the promise with an
34 virtual void completeWithError(WebContentDecryptionModuleException, unsigned long systemCode, const WebString&) OVERRIDE;
H A DSimpleContentDecryptionModuleResult.cpp65 void SimpleContentDecryptionModuleResult::completeWithError(WebContentDecryptionModuleException exceptionCode, unsigned long systemCode, const WebString& errorMessage) function in class:blink::SimpleContentDecryptionModuleResult
H A DMediaKeySession.cpp147 // completeWithError() will reject the promise with an exception. complete()
182 virtual void completeWithError(WebContentDecryptionModuleException exceptionCode, unsigned long systemCode, const WebString& errorMessage) OVERRIDE
505 // (Done by call to completeWithError()).
H A DHTMLMediaElementEncryptedMedia.cpp97 virtual void completeWithError(blink::WebContentDecryptionModuleException code, unsigned long systemCode, const blink::WebString& message) OVERRIDE
/external/chromium_org/content/renderer/media/
H A Dcdm_result_promise.cc78 web_cdm_result_.completeWithError(ConvertException(exception_code),
112 web_cdm_result_.completeWithError(ConvertException(exception_code),
H A Dwebcontentdecryptionmodulesession_impl.cc97 result.completeWithError(
/external/chromium_org/media/blink/
H A Dnull_encrypted_media_player_support.cc62 result.completeWithError(
/external/chromium_org/content/renderer/media/crypto/
H A Dencrypted_media_player_support_impl.cc325 result.completeWithError(
354 result.completeWithError(
/external/chromium_org/content/child/webcrypto/
H A Dwebcrypto_impl.cc101 result->completeWithError(blink::WebCryptoErrorTypeOperation,
108 result->completeWithError(status.error_type(),
/external/chromium_org/content/renderer/media/android/
H A Dwebmediaplayer_android.cc1672 result.completeWithError(
1707 result.completeWithError(

Completed in 325 milliseconds