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

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

Issue 1799923003: Add an end-to-end test that excercises Mojo with a sandbox. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « content/shell/utility/shell_content_utility_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0acf82954e1e10cee3cb71a22ad063c8f6be3f7c..407c19742b76e615a648a716b83b91c1ff73aaba 100644
--- a/content/shell/utility/shell_content_utility_client.cc
+++ b/content/shell/utility/shell_content_utility_client.cc
@@ -7,7 +7,9 @@
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "content/common/mojo/static_loader.h"
+#include "content/public/common/service_registry.h"
#include "content/public/test/test_mojo_app.h"
+#include "content/shell/utility/mojo_test_impl.h"
namespace content {
@@ -27,4 +29,10 @@ void ShellContentUtilityClient::RegisterMojoApplications(
apps->insert(std::make_pair(kTestMojoAppUrl, base::Bind(&CreateTestApp)));
}
+void ShellContentUtilityClient::RegisterMojoServices(
+ ServiceRegistry* registry) {
+ registry->AddService<mojom::MojoTest>(
+ base::Bind(&MojoTestImpl::CreateMojoTestImpl));
+}
+
} // namespace content
« no previous file with comments | « content/shell/utility/shell_content_utility_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698