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

Side by Side Diff: extensions/renderer/resources/media_router_bindings.js

Issue 1858783002: [Media Router] Move media_router.mojom to c/b/media/router/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to wez@ comment Created 4 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
« no previous file with comments | « extensions/renderer/resources/extensions_renderer_resources.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 var mediaRouter; 5 var mediaRouter;
6 6
7 define('media_router_bindings', [ 7 define('media_router_bindings', [
8 'mojo/public/js/bindings', 8 'mojo/public/js/bindings',
9 'mojo/public/js/core', 9 'mojo/public/js/core',
10 'content/public/renderer/frame_service_registry', 10 'content/public/renderer/frame_service_registry',
11 'chrome/browser/media/router/media_router.mojom', 11 'chrome/browser/media/router/mojo/media_router.mojom',
12 'extensions/common/mojo/keep_alive.mojom', 12 'extensions/common/mojo/keep_alive.mojom',
13 'mojo/public/js/connection', 13 'mojo/public/js/connection',
14 'mojo/public/js/router', 14 'mojo/public/js/router',
15 ], function(bindings, 15 ], function(bindings,
16 core, 16 core,
17 serviceProvider, 17 serviceProvider,
18 mediaRouterMojom, 18 mediaRouterMojom,
19 keepAliveMojom, 19 keepAliveMojom,
20 connector, 20 connector,
21 routerModule) { 21 routerModule) {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 }; 754 };
755 755
756 mediaRouter = new MediaRouter(connector.bindHandleToProxy( 756 mediaRouter = new MediaRouter(connector.bindHandleToProxy(
757 serviceProvider.connectToService( 757 serviceProvider.connectToService(
758 mediaRouterMojom.MediaRouter.name), 758 mediaRouterMojom.MediaRouter.name),
759 mediaRouterMojom.MediaRouter)); 759 mediaRouterMojom.MediaRouter));
760 760
761 return mediaRouter; 761 return mediaRouter;
762 }); 762 });
763 763
OLDNEW
« no previous file with comments | « extensions/renderer/resources/extensions_renderer_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698