| 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/runner/host/mach_broker.h" | 5 #include "services/shell/runner/host/mach_broker.h" | 
| 6 | 6 | 
| 7 #include "base/logging.h" | 7 #include "base/logging.h" | 
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" | 
| 9 | 9 | 
| 10 namespace mojo { | 10 namespace mojo { | 
| 11 namespace shell { | 11 namespace shell { | 
| 12 | 12 | 
| 13 namespace { | 13 namespace { | 
| 14 const char kBootstrapPortName[] = "mojo_shell"; | 14 const char kBootstrapPortName[] = "mojo_shell"; | 
| 15 } | 15 } | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 36 void MachBroker::ExpectPid(base::ProcessHandle pid) { | 36 void MachBroker::ExpectPid(base::ProcessHandle pid) { | 
| 37   broker_.AddPlaceholderForPid(pid); | 37   broker_.AddPlaceholderForPid(pid); | 
| 38 } | 38 } | 
| 39 | 39 | 
| 40 void MachBroker::RemovePid(base::ProcessHandle pid) { | 40 void MachBroker::RemovePid(base::ProcessHandle pid) { | 
| 41   broker_.InvalidatePid(pid); | 41   broker_.InvalidatePid(pid); | 
| 42 } | 42 } | 
| 43 | 43 | 
| 44 }  // namespace shell | 44 }  // namespace shell | 
| 45 }  // namespace mojo | 45 }  // namespace mojo | 
| OLD | NEW | 
|---|