OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ipc/ipc_channel_mojo.h" | 5 #include "ipc/ipc_channel_mojo.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 DCHECK(result.second); | 491 DCHECK(result.second); |
492 } | 492 } |
493 | 493 |
494 void ChannelMojo::GetGenericRemoteAssociatedInterface( | 494 void ChannelMojo::GetGenericRemoteAssociatedInterface( |
495 const std::string& name, | 495 const std::string& name, |
496 mojo::ScopedInterfaceEndpointHandle handle) { | 496 mojo::ScopedInterfaceEndpointHandle handle) { |
497 DCHECK(message_reader_); | 497 DCHECK(message_reader_); |
498 message_reader_->GetRemoteInterface(name, std::move(handle)); | 498 message_reader_->GetRemoteInterface(name, std::move(handle)); |
499 } | 499 } |
500 | 500 |
| 501 void ChannelMojo::SetProxyTaskRunner( |
| 502 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { |
| 503 DCHECK(bootstrap_); |
| 504 bootstrap_->SetProxyTaskRunner(task_runner); |
| 505 } |
| 506 |
501 } // namespace IPC | 507 } // namespace IPC |
OLD | NEW |