diff options
author | ben <ben@chromium.org> | 2016-03-14 15:48:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-14 22:50:25 +0000 |
commit | 1693cacfdda556be0d56381104055f12829b6772 (patch) | |
tree | 413c145794603a1b624e3e214890c4ae397dbcfd /mojo/shell/background | |
parent | f755705a429d313d57c012895adb033aba5c4529 (diff) | |
download | chromium_src-1693cacfdda556be0d56381104055f12829b6772.zip chromium_src-1693cacfdda556be0d56381104055f12829b6772.tar.gz chromium_src-1693cacfdda556be0d56381104055f12829b6772.tar.bz2 |
Allow Catalogs to be constructed per-user
BUG=
Review URL: https://codereview.chromium.org/1791663002
Cr-Commit-Position: refs/heads/master@{#381099}
Diffstat (limited to 'mojo/shell/background')
-rw-r--r-- | mojo/shell/background/tests/test_service.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mojo/shell/background/tests/test_service.cc b/mojo/shell/background/tests/test_service.cc index 8b68c59..d030a81 100644 --- a/mojo/shell/background/tests/test_service.cc +++ b/mojo/shell/background/tests/test_service.cc @@ -25,6 +25,9 @@ class TestClient : public ShellClient, connection->AddInterface(this); return true; } + void ShellConnectionLost() override { + base::MessageLoop::current()->QuitWhenIdle(); + } // InterfaceFactory<mojom::TestService>: void Create(Connection* connection, @@ -33,7 +36,9 @@ class TestClient : public ShellClient, } // mojom::TestService - void Test(const TestCallback& callback) override { callback.Run(); } + void Test(const TestCallback& callback) override { + callback.Run(); + } BindingSet<mojom::TestService> bindings_; |