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

Unified Diff: mojo/edk/system/ipc_support.cc

Issue 1412283002: Convert mojo::system::Dispatcher to use our new refcounting stuff (instead of base's). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: no change Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/ipc_support.h ('k') | mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ipc_support.cc
diff --git a/mojo/edk/system/ipc_support.cc b/mojo/edk/system/ipc_support.cc
index af142818f217c2aba404c77f669784cf2e16c70c..725d6d3d6d75166b3f267f0e47c00e0f47e23f5a 100644
--- a/mojo/edk/system/ipc_support.cc
+++ b/mojo/edk/system/ipc_support.cc
@@ -88,7 +88,7 @@ ConnectionIdentifier IPCSupport::GenerateConnectionIdentifier() {
return connection_manager()->GenerateConnectionIdentifier();
}
-scoped_refptr<system::MessagePipeDispatcher> IPCSupport::ConnectToSlave(
+RefPtr<MessagePipeDispatcher> IPCSupport::ConnectToSlave(
const ConnectionIdentifier& connection_id,
embedder::SlaveInfo slave_info,
embedder::ScopedPlatformHandle platform_handle,
@@ -109,7 +109,7 @@ scoped_refptr<system::MessagePipeDispatcher> IPCSupport::ConnectToSlave(
callback_thread_task_runner);
}
-scoped_refptr<system::MessagePipeDispatcher> IPCSupport::ConnectToMaster(
+RefPtr<MessagePipeDispatcher> IPCSupport::ConnectToMaster(
const ConnectionIdentifier& connection_id,
const base::Closure& callback,
scoped_refptr<base::TaskRunner> callback_thread_task_runner,
« no previous file with comments | « mojo/edk/system/ipc_support.h ('k') | mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698