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

Unified Diff: media/mojo/clients/mojo_android_overlay_factory.cc

Issue 2796943002: Move routing token out of AndroidOverlay config. (Closed)
Patch Set: Created 3 years, 8 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: media/mojo/clients/mojo_android_overlay_factory.cc
diff --git a/media/mojo/clients/mojo_android_overlay_factory.cc b/media/mojo/clients/mojo_android_overlay_factory.cc
index 6cff6b1f0de4cc396d1e0f6e409d5476cf05991e..d1654e13a3de2cb920831e19e5a2cf77f5003c57 100644
--- a/media/mojo/clients/mojo_android_overlay_factory.cc
+++ b/media/mojo/clients/mojo_android_overlay_factory.cc
@@ -9,14 +9,16 @@
namespace media {
MojoAndroidOverlayFactory::MojoAndroidOverlayFactory(
- service_manager::mojom::InterfaceProvider* interface_provider)
- : interface_provider_(interface_provider) {}
+ service_manager::mojom::InterfaceProvider* interface_provider,
+ const base::UnguessableToken& routing_token)
+ : interface_provider_(interface_provider), routing_token_(routing_token) {}
MojoAndroidOverlayFactory::~MojoAndroidOverlayFactory() {}
std::unique_ptr<AndroidOverlay> MojoAndroidOverlayFactory::CreateOverlay(
const AndroidOverlay::Config& config) {
- return base::MakeUnique<MojoAndroidOverlay>(interface_provider_, config);
+ return base::MakeUnique<MojoAndroidOverlay>(interface_provider_, config,
+ routing_token_);
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698