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

Unified Diff: media/mojo/services/mojo_cdm_service.cc

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « media/mojo/interfaces/content_decryption_module.mojom ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_cdm_service.cc
diff --git a/media/mojo/services/mojo_cdm_service.cc b/media/mojo/services/mojo_cdm_service.cc
index b07bee0a1b7fae40a3f9e0e0745a60e18b84db37..34b2aae7cf5e124608371afcccbc73e92215219b 100644
--- a/media/mojo/services/mojo_cdm_service.cc
+++ b/media/mojo/services/mojo_cdm_service.cc
@@ -20,7 +20,6 @@
#include "media/mojo/common/media_type_converters.h"
#include "media/mojo/services/mojo_cdm_service_context.h"
#include "mojo/common/common_type_converters.h"
-#include "mojo/common/url_type_converters.h"
#include "url/gurl.h"
namespace media {
@@ -226,10 +225,9 @@ void MojoCdmService::OnSessionMessage(const std::string& session_id,
const std::vector<uint8_t>& message,
const GURL& legacy_destination_url) {
DVLOG(2) << __FUNCTION__ << "(" << message_type << ")";
- client_->OnSessionMessage(session_id,
- static_cast<mojom::CdmMessageType>(message_type),
- mojo::Array<uint8_t>::From(message),
- mojo::String::From(legacy_destination_url));
+ client_->OnSessionMessage(
+ session_id, static_cast<mojom::CdmMessageType>(message_type),
+ mojo::Array<uint8_t>::From(message), legacy_destination_url);
}
void MojoCdmService::OnSessionKeysChange(const std::string& session_id,
« no previous file with comments | « media/mojo/interfaces/content_decryption_module.mojom ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698