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

Unified Diff: mojo/shell/dynamic_application_loader_unittest.cc

Issue 741453002: Make sure that Content Handled application can be connected multiple times. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/shell/dynamic_application_loader_unittest.cc
diff --git a/mojo/shell/dynamic_application_loader_unittest.cc b/mojo/shell/dynamic_application_loader_unittest.cc
index 7c04e4c9e85196d1409d50fead11499655a5b201..d08c4ca0208fd94841cecbee3d3bef3146ec1c22 100644
--- a/mojo/shell/dynamic_application_loader_unittest.cc
+++ b/mojo/shell/dynamic_application_loader_unittest.cc
@@ -83,9 +83,8 @@ TEST_F(DynamicApplicationLoaderTest, DoesNotExist) {
base::FilePath nonexistent_file(FILE_PATH_LITERAL("nonexistent.txt"));
GURL url(FilePathToFileURL(temp_dir.path().Append(nonexistent_file)));
MessagePipe pipe;
- scoped_refptr<ApplicationLoader::SimpleLoadCallbacks> callbacks(
- new ApplicationLoader::SimpleLoadCallbacks(pipe.handle0.Pass()));
- loader_->Load(context_.application_manager(), url, callbacks);
+ loader_->Load(context_.application_manager(), url, pipe.handle0.Pass(),
+ nullptr);
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