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

Unified Diff: mojo/shell/external_application_listener_unittest.cc

Issue 696563002: Cache ShellImpl by resolved URL, not initial URL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase 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
« no previous file with comments | « mojo/shell/dynamic_application_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/external_application_listener_unittest.cc
diff --git a/mojo/shell/external_application_listener_unittest.cc b/mojo/shell/external_application_listener_unittest.cc
index 7e07e84d94a6e78933fd42a638c44df4ee1a20bb..a646671aa84f8c081256a0ebe738d2b3fae562d6 100644
--- a/mojo/shell/external_application_listener_unittest.cc
+++ b/mojo/shell/external_application_listener_unittest.cc
@@ -27,7 +27,9 @@ namespace shell {
class ExternalApplicationListenerTest : public testing::Test {
public:
- ExternalApplicationListenerTest() : io_thread_("io thread") {}
+ ExternalApplicationListenerTest()
+ : io_thread_("io thread"),
+ application_manager_(&delegate_) {}
~ExternalApplicationListenerTest() override {}
void SetUp() override {
@@ -47,6 +49,7 @@ class ExternalApplicationListenerTest : public testing::Test {
base::Thread io_thread_;
base::ScopedTempDir temp_dir_;
+ ApplicationManager::Delegate delegate_;
ApplicationManager application_manager_;
base::FilePath socket_path_;
scoped_ptr<ExternalApplicationListener> listener_;
« no previous file with comments | « mojo/shell/dynamic_application_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698