Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: ipc/ipc_channel_mojo.cc

Issue 2147493006: Adds Channel-associated interface support on ChannelProxy's thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ipc/ipc_channel_mojo.h ('k') | ipc/ipc_channel_mojo_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ipc/ipc_channel_mojo.h ('k') | ipc/ipc_channel_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698