| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/shell_application_delegate.h" | 5 #include "mojo/shell/shell_application_delegate.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <utility> | 9 #include <utility> |
| 8 | 10 |
| 9 #include "base/process/process.h" | 11 #include "base/process/process.h" |
| 10 #include "mojo/application/public/cpp/application_connection.h" | 12 #include "mojo/application/public/cpp/application_connection.h" |
| 11 #include "mojo/shell/application_manager.h" | 13 #include "mojo/shell/application_manager.h" |
| 12 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" | 14 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
| 13 | 15 |
| 14 namespace mojo { | 16 namespace mojo { |
| 15 namespace shell { | 17 namespace shell { |
| 16 | 18 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 embedder::ChildProcessLaunched(process.Handle(), std::move(platform_pipe)); | 80 embedder::ChildProcessLaunched(process.Handle(), std::move(platform_pipe)); |
| 79 } | 81 } |
| 80 | 82 |
| 81 void ShellApplicationDelegate::AddListener( | 83 void ShellApplicationDelegate::AddListener( |
| 82 mojom::ApplicationManagerListenerPtr listener) { | 84 mojom::ApplicationManagerListenerPtr listener) { |
| 83 manager_->AddListener(std::move(listener)); | 85 manager_->AddListener(std::move(listener)); |
| 84 } | 86 } |
| 85 | 87 |
| 86 } // namespace shell | 88 } // namespace shell |
| 87 } // namespace mojo | 89 } // namespace mojo |
| OLD | NEW |