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

Unified Diff: mojo/edk/system/remote_consumer_data_pipe_impl.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/ref_ptr_internal.h ('k') | mojo/edk/system/remote_consumer_data_pipe_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/remote_consumer_data_pipe_impl.h
diff --git a/mojo/edk/system/remote_consumer_data_pipe_impl.h b/mojo/edk/system/remote_consumer_data_pipe_impl.h
index f05de1bc7a27a53b173433e97be127780e441f7b..20a3f045fb2430f8188e53a5d9800b34bf7e8ac7 100644
--- a/mojo/edk/system/remote_consumer_data_pipe_impl.h
+++ b/mojo/edk/system/remote_consumer_data_pipe_impl.h
@@ -10,7 +10,7 @@
#include "base/memory/aligned_memory.h"
#include "mojo/edk/system/channel_endpoint.h"
#include "mojo/edk/system/data_pipe_impl.h"
-#include "mojo/edk/system/ref_ptr.h"
+#include "mojo/edk/util/ref_ptr.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -25,7 +25,7 @@ class RemoteConsumerDataPipeImpl final : public DataPipeImpl {
// is nonzero (i.e., if we're in the middle of a two-phase write when the
// consumer handle is transferred); |start_index| is ignored if it is zero.
RemoteConsumerDataPipeImpl(
- RefPtr<ChannelEndpoint>&& channel_endpoint,
+ util::RefPtr<ChannelEndpoint>&& channel_endpoint,
size_t consumer_num_bytes,
std::unique_ptr<char, base::AlignedFreeDeleter> buffer,
size_t start_index);
@@ -95,7 +95,7 @@ class RemoteConsumerDataPipeImpl final : public DataPipeImpl {
void Disconnect();
// Should be valid if and only if |consumer_open()| returns true.
- RefPtr<ChannelEndpoint> channel_endpoint_;
+ util::RefPtr<ChannelEndpoint> channel_endpoint_;
// The number of bytes we've sent the consumer, but don't *know* have been
// consumed.
« no previous file with comments | « mojo/edk/system/ref_ptr_internal.h ('k') | mojo/edk/system/remote_consumer_data_pipe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698