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

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

Issue 1423713009: EDK: Move ref counting classes to mojo/edk/util. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/incoming_endpoint.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ipc_support.h
diff --git a/mojo/edk/system/ipc_support.h b/mojo/edk/system/ipc_support.h
index ed5ab02e17d5163f867873558a029733b262c573..26b70e53ef12c4f04a3b34885ce6b60a61523fd7 100644
--- a/mojo/edk/system/ipc_support.h
+++ b/mojo/edk/system/ipc_support.h
@@ -9,7 +9,6 @@
#include "base/callback_forward.h"
#include "base/gtest_prod_util.h"
-#include "base/memory/ref_counted.h"
#include "mojo/edk/embedder/platform_task_runner.h"
#include "mojo/edk/embedder/process_type.h"
#include "mojo/edk/embedder/scoped_platform_handle.h"
@@ -17,7 +16,7 @@
#include "mojo/edk/system/channel_id.h"
#include "mojo/edk/system/connection_identifier.h"
#include "mojo/edk/system/process_identifier.h"
-#include "mojo/edk/system/ref_ptr.h"
+#include "mojo/edk/util/ref_ptr.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -100,7 +99,7 @@ class IPCSupport {
//
// TODO(vtl): Add some more channel management functionality to this class.
// Maybe make this callback interface more sane.
- RefPtr<MessagePipeDispatcher> ConnectToSlave(
+ util::RefPtr<MessagePipeDispatcher> ConnectToSlave(
const ConnectionIdentifier& connection_id,
embedder::SlaveInfo slave_info,
embedder::ScopedPlatformHandle platform_handle,
@@ -116,7 +115,7 @@ class IPCSupport {
// |ConnectToSlave()|.
//
// TODO(vtl): |ConnectToSlave()|'s channel management TODO also applies here.
- RefPtr<MessagePipeDispatcher> ConnectToMaster(
+ util::RefPtr<MessagePipeDispatcher> ConnectToMaster(
const ConnectionIdentifier& connection_id,
const base::Closure& callback,
embedder::PlatformTaskRunnerRefPtr callback_thread_task_runner,
« no previous file with comments | « mojo/edk/system/incoming_endpoint.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698