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

Unified Diff: mojo/runner/native_runner_unittest.cc

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 5 years, 4 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 f7176423bf2fd9ce7ad279471459038ba3dadbb8..165c1f5474696dc590487ac1515416c25f4b5c91 100644
--- a/mojo/runner/native_runner_unittest.cc
+++ b/mojo/runner/native_runner_unittest.cc
@@ -104,9 +104,10 @@ TEST_F(NativeApplicationLoaderTest, DoesNotExist) {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(url.spec());
application_manager_.ConnectToApplication(
- nullptr, request.Pass(), std::string(), GURL(), services.Pass(),
+ nullptr, request.Pass(), std::string(), GURL(),
+ shell::ApplicationManager::kInvalidContentHandlerID, services.Pass(),
service_provider.Pass(), shell::GetPermissiveCapabilityFilter(),
- base::Closure());
+ base::Closure(), shell::EmptyConnectCallback());
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