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

Unified Diff: shell/shell_test_base.cc

Issue 1965563002: Neuter the wrong-way ServiceProvider (a.k.a. exposed_services). (Closed) Base URL: https://github.com/domokit/mojo.git@work795_js_wrong_way
Patch Set: rebased 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
« no previous file with comments | « shell/native_runner_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/shell_test_base.cc
diff --git a/shell/shell_test_base.cc b/shell/shell_test_base.cc
index 9be0abcacfd908fb31358a0f8fc9a6d172176b5e..f698e6e4b3aa9187910c02e10fd6ea001992a06f 100644
--- a/shell/shell_test_base.cc
+++ b/shell/shell_test_base.cc
@@ -28,11 +28,9 @@ void QuitIfRunning() {
} // namespace
-ShellTestBase::ShellTestBase() {
-}
+ShellTestBase::ShellTestBase() {}
-ShellTestBase::~ShellTestBase() {
-}
+ShellTestBase::~ShellTestBase() {}
void ShellTestBase::SetUp() {
CHECK(shell_context_.Init());
@@ -48,7 +46,7 @@ mojo::ScopedMessagePipeHandle ShellTestBase::ConnectToService(
const std::string& service_name) {
mojo::ServiceProviderPtr services;
shell_context_.application_manager()->ConnectToApplication(
- application_url, GURL(), mojo::GetProxy(&services), nullptr,
+ application_url, GURL(), mojo::GetProxy(&services),
base::Bind(&QuitIfRunning));
mojo::MessagePipe pipe;
services->ConnectToService(service_name, pipe.handle1.Pass());
« no previous file with comments | « shell/native_runner_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698