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

Unified Diff: content/shell/utility/shell_content_utility_client.cc

Issue 1947313002: Enable content embedders to specify mojo application task runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restores mojo:media in browser Created 4 years, 7 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: content/shell/utility/shell_content_utility_client.cc
diff --git a/content/shell/utility/shell_content_utility_client.cc b/content/shell/utility/shell_content_utility_client.cc
index a00bf62d54013db71208964b9a0211492947c1af..6d2ec12690b196f7e7c99d6d1c99bc9306e8d497 100644
--- a/content/shell/utility/shell_content_utility_client.cc
+++ b/content/shell/utility/shell_content_utility_client.cc
@@ -25,7 +25,9 @@ ShellContentUtilityClient::~ShellContentUtilityClient() {
void ShellContentUtilityClient::RegisterMojoApplications(
StaticMojoApplicationMap* apps) {
- apps->insert(std::make_pair(kTestMojoAppUrl, base::Bind(&CreateTestApp)));
+ MojoApplicationInfo app_info;
+ app_info.application_factory = base::Bind(&CreateTestApp);
+ apps->insert(std::make_pair(kTestMojoAppUrl, app_info));
}
} // namespace content
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | content/utility/utility_process_control_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698