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

Unified Diff: mojo/package_manager/capability_filter_content_handler_unittest.cc

Issue 1431573002: Fix hangs in Mandoline page cycler on Linux with --enable-multiprocess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 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
« no previous file with comments | « mojo/fetcher/about_fetcher_unittest.cc ('k') | mojo/package_manager/content_handler_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/package_manager/capability_filter_content_handler_unittest.cc
diff --git a/mojo/package_manager/capability_filter_content_handler_unittest.cc b/mojo/package_manager/capability_filter_content_handler_unittest.cc
index 095a2b42410f2db0acc5ddce1e8d8bee1bfc4520..cdb4721217e16a725db531deec3a91feccdafc2d 100644
--- a/mojo/package_manager/capability_filter_content_handler_unittest.cc
+++ b/mojo/package_manager/capability_filter_content_handler_unittest.cc
@@ -96,12 +96,15 @@ class TestContentHandler : public ApplicationDelegate,
}
// Overridden from ContentHandler:
- void StartApplication(InterfaceRequest<Application> application,
- URLResponsePtr response) override {
+ void StartApplication(
+ InterfaceRequest<Application> application,
+ URLResponsePtr response,
+ const Callback<void()>& destruct_callback) override {
scoped_ptr<ApplicationDelegate> delegate(new shell::test::TestApplication);
embedded_apps_.push_back(
new ApplicationImpl(delegate.get(), application.Pass()));
embedded_app_delegates_.push_back(delegate.Pass());
+ destruct_callback.Run();
}
ApplicationImpl* app_;
« no previous file with comments | « mojo/fetcher/about_fetcher_unittest.cc ('k') | mojo/package_manager/content_handler_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698