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

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

Issue 2796943002: Move routing token out of AndroidOverlay config. (Closed)
Patch Set: cl feedback 1/2 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
« no previous file with comments | « media/mojo/clients/mojo_android_overlay.h ('k') | media/mojo/clients/mojo_android_overlay_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_android_overlay.cc
diff --git a/media/mojo/clients/mojo_android_overlay.cc b/media/mojo/clients/mojo_android_overlay.cc
index 636a50f0231551d0b16ccdfc4524dc02e13a14dd..6bd19e051fe02b16af4617c6a88881ef86d15958 100644
--- a/media/mojo/clients/mojo_android_overlay.cc
+++ b/media/mojo/clients/mojo_android_overlay.cc
@@ -11,7 +11,8 @@ namespace media {
MojoAndroidOverlay::MojoAndroidOverlay(
service_manager::mojom::InterfaceProvider* interface_provider,
- const AndroidOverlay::Config& config)
+ const AndroidOverlay::Config& config,
+ const base::UnguessableToken& routing_token)
: interface_provider_(interface_provider), config_(config) {
// Connect to the provider service.
mojom::AndroidOverlayProviderPtr provider_ptr;
@@ -22,7 +23,7 @@ MojoAndroidOverlay::MojoAndroidOverlay(
// too, but since we want to retain |config_| anyway, we do it here.
mojom::AndroidOverlayConfigPtr mojo_config =
mojom::AndroidOverlayConfig::New();
- mojo_config->routing_token = config_.routing_token;
+ mojo_config->routing_token = routing_token;
mojo_config->rect = config_.rect;
mojom::AndroidOverlayClientPtr ptr;
« no previous file with comments | « media/mojo/clients/mojo_android_overlay.h ('k') | media/mojo/clients/mojo_android_overlay_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698