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

Side by Side Diff: media/mojo/clients/mojo_android_overlay_factory.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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/mojo/clients/mojo_android_overlay_factory.h" 5 #include "media/mojo/clients/mojo_android_overlay_factory.h"
6 6
7 #include "media/mojo/clients/mojo_android_overlay.h" 7 #include "media/mojo/clients/mojo_android_overlay.h"
8 8
9 namespace media { 9 namespace media {
10 10
11 MojoAndroidOverlayFactory::MojoAndroidOverlayFactory( 11 MojoAndroidOverlayFactory::MojoAndroidOverlayFactory(
12 const base::UnguessableToken& routing_token,
12 service_manager::mojom::InterfaceProvider* interface_provider) 13 service_manager::mojom::InterfaceProvider* interface_provider)
13 : interface_provider_(interface_provider) {} 14 : interface_provider_(interface_provider), routing_token_(routing_token) {}
14 15
15 MojoAndroidOverlayFactory::~MojoAndroidOverlayFactory() {} 16 MojoAndroidOverlayFactory::~MojoAndroidOverlayFactory() {}
16 17
17 std::unique_ptr<AndroidOverlay> MojoAndroidOverlayFactory::CreateOverlay( 18 std::unique_ptr<AndroidOverlay> MojoAndroidOverlayFactory::CreateOverlay(
18 const AndroidOverlay::Config& config) { 19 const AndroidOverlay::Config& config) {
19 return base::MakeUnique<MojoAndroidOverlay>(interface_provider_, config); 20 return base::MakeUnique<MojoAndroidOverlay>(interface_provider_, config,
21 routing_token_);
20 } 22 }
21 23
22 } // namespace media 24 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_android_overlay_factory.h ('k') | media/mojo/clients/mojo_android_overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698