| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/shell/background/background_shell.h" | 5 #include "mojo/shell/background/background_shell.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 InterfaceRequest<mojom::ShellClient> request; | 166 InterfaceRequest<mojom::ShellClient> request; |
| 167 base::WaitableEvent signal(true, false); | 167 base::WaitableEvent signal(true, false); |
| 168 thread_->message_loop()->task_runner()->PostTask( | 168 thread_->message_loop()->task_runner()->PostTask( |
| 169 FROM_HERE, base::Bind(&MojoThread::CreateShellClientRequest, | 169 FROM_HERE, base::Bind(&MojoThread::CreateShellClientRequest, |
| 170 base::Unretained(thread_.get()), &signal, | 170 base::Unretained(thread_.get()), &signal, |
| 171 base::Passed(¶ms), &request)); | 171 base::Passed(¶ms), &request)); |
| 172 signal.Wait(); | 172 signal.Wait(); |
| 173 return request; | 173 return request; |
| 174 } | 174 } |
| 175 | 175 |
| 176 void RegisterLocalAliases(PackageManagerImpl* manager) {} | |
| 177 | |
| 178 } // namespace shell | 176 } // namespace shell |
| 179 } // namespace mojo | 177 } // namespace mojo |
| OLD | NEW |