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

Unified Diff: Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp

Issue 464353002: Cleanup blink:: prefix usage in Source/core/modules/[battery/*.cpp to indexeddb/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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
Index: Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp
diff --git a/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp b/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp
index 75d126d1a74270e808abc3e5339267e318941787..8d8e658a3a34baa1e640efc02ee2f538832ad8d1 100644
--- a/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp
+++ b/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.cpp
@@ -16,21 +16,21 @@
namespace blink {
-ExceptionCode WebCdmExceptionToExceptionCode(blink::WebContentDecryptionModuleException cdmException)
+ExceptionCode WebCdmExceptionToExceptionCode(WebContentDecryptionModuleException cdmException)
{
switch (cdmException) {
- case blink::WebContentDecryptionModuleExceptionNotSupportedError:
+ case WebContentDecryptionModuleExceptionNotSupportedError:
return NotSupportedError;
- case blink::WebContentDecryptionModuleExceptionInvalidStateError:
+ case WebContentDecryptionModuleExceptionInvalidStateError:
return InvalidStateError;
- case blink::WebContentDecryptionModuleExceptionInvalidAccessError:
+ case WebContentDecryptionModuleExceptionInvalidAccessError:
return InvalidAccessError;
- case blink::WebContentDecryptionModuleExceptionQuotaExceededError:
+ case WebContentDecryptionModuleExceptionQuotaExceededError:
return QuotaExceededError;
- case blink::WebContentDecryptionModuleExceptionUnknownError:
+ case WebContentDecryptionModuleExceptionUnknownError:
return UnknownError;
- case blink::WebContentDecryptionModuleExceptionClientError:
- case blink::WebContentDecryptionModuleExceptionOutputError:
+ case WebContentDecryptionModuleExceptionClientError:
+ case WebContentDecryptionModuleExceptionOutputError:
// Currently no matching DOMException for these 2 errors.
// FIXME: Update DOMException to handle these if actually added to
// the EME spec.
@@ -56,13 +56,13 @@ void SimpleContentDecryptionModuleResult::complete()
m_resolver.clear();
}
-void SimpleContentDecryptionModuleResult::completeWithSession(blink::WebContentDecryptionModuleResult::SessionStatus status)
+void SimpleContentDecryptionModuleResult::completeWithSession(WebContentDecryptionModuleResult::SessionStatus status)
{
ASSERT_NOT_REACHED();
completeWithDOMException(InvalidStateError, "Unexpected completion.");
}
-void SimpleContentDecryptionModuleResult::completeWithError(blink::WebContentDecryptionModuleException exceptionCode, unsigned long systemCode, const blink::WebString& errorMessage)
+void SimpleContentDecryptionModuleResult::completeWithError(WebContentDecryptionModuleException exceptionCode, unsigned long systemCode, const WebString& errorMessage)
{
completeWithDOMException(WebCdmExceptionToExceptionCode(exceptionCode), errorMessage);
}
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeysController.cpp ('k') | Source/modules/filesystem/DOMFileSystemBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698