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

Unified Diff: mojo/runner/native_runner_unittest.cc

Issue 1244233002: Allow trusted brokers to restrict connections for spawned applications to whitelisted applications … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 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: mojo/runner/native_runner_unittest.cc
diff --git a/mojo/runner/native_runner_unittest.cc b/mojo/runner/native_runner_unittest.cc
index 8120e5272915afe3b4b09b70b768028141823e62..a23795122d1880b1c08150fa103e257d4cf71cdd 100644
--- a/mojo/runner/native_runner_unittest.cc
+++ b/mojo/runner/native_runner_unittest.cc
@@ -97,8 +97,8 @@ TEST_F(NativeApplicationLoaderTest, DoesNotExist) {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(url.spec());
application_manager_.ConnectToApplication(
- request.Pass(), std::string(), GURL(), services.Pass(),
- service_provider.Pass(), base::Closure());
+ nullptr, request.Pass(), std::string(), GURL(), services.Pass(),
+ service_provider.Pass(), nullptr, base::Closure());
EXPECT_FALSE(state_.runner_was_created);
EXPECT_FALSE(state_.runner_was_started);
EXPECT_FALSE(state_.runner_was_destroyed);

Powered by Google App Engine
This is Rietveld 408576698