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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 2727123002: [Media Router] Custom Controls 1 - Add MediaStatus, MediaRouteController, and mojo interfaces (Closed)
Patch Set: Change comment Created 3 years, 9 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 | « chrome/test/BUILD.gn ('k') | extensions/renderer/resources/extensions_renderer_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index 4dcf0389e2b7fd0f8d7a1ccc456b58670f6267d1..126c62447ceb7229f5987595daa115b5b6496566 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -139,7 +139,7 @@ static const char kOnSuspendCanceledEvent[] = "runtime.onSuspendCanceled";
void CrashOnException(const v8::TryCatch& trycatch) {
NOTREACHED();
-};
+}
// Calls a method |method_name| in a module |module_name| belonging to the
// module system from |context|. Intended as a callback target from
@@ -751,8 +751,12 @@ std::vector<std::pair<const char*, int>> Dispatcher::GetJsResources() {
{"platformApp", IDR_PLATFORM_APP_JS},
#if defined(ENABLE_MEDIA_ROUTER)
+ {"chrome/browser/media/router/mojo/media_controller.mojom",
Nico 2017/03/23 18:36:49 This adds many more dependencies from extensions/
imcheng 2017/03/23 19:03:16 These dependencies need to exist for the Media Rou
+ IDR_MEDIA_CONTROLLER_MOJOM_JS},
{"chrome/browser/media/router/mojo/media_router.mojom",
IDR_MEDIA_ROUTER_MOJOM_JS},
+ {"chrome/browser/media/router/mojo/media_status.mojom",
+ IDR_MEDIA_STATUS_MOJOM_JS},
{"media_router_bindings", IDR_MEDIA_ROUTER_BINDINGS_JS},
{"mojo/common/time.mojom", IDR_MOJO_TIME_MOJOM_JS},
{"net/interfaces/ip_address.mojom", IDR_MOJO_IP_ADDRESS_MOJOM_JS},
« no previous file with comments | « chrome/test/BUILD.gn ('k') | extensions/renderer/resources/extensions_renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698