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

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

Issue 936173002: Rename LocalDataPipe -> LocalDataPipeImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 10 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/local_data_pipe.cc ('k') | mojo/edk/system/local_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/local_data_pipe_impl.h
diff --git a/mojo/edk/system/local_data_pipe.h b/mojo/edk/system/local_data_pipe_impl.h
similarity index 87%
rename from mojo/edk/system/local_data_pipe.h
rename to mojo/edk/system/local_data_pipe_impl.h
index a3e57f5e8f0ee9e25d3fc9937e675c8c80d46252..c241366c1c25b0bb1abfd9e32061b04268fe09d0 100644
--- a/mojo/edk/system/local_data_pipe.h
+++ b/mojo/edk/system/local_data_pipe_impl.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_H_
-#define MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_H_
+#ifndef MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_
+#define MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_
#include "base/macros.h"
#include "base/memory/aligned_memory.h"
@@ -15,19 +15,20 @@
namespace mojo {
namespace system {
-// |LocalDataPipe| is a subclass that "implements" |DataPipe| for data pipes
+// |LocalDataPipeImpl| is a subclass that "implements" |DataPipe| for data pipes
// whose producer and consumer are both local. This class is thread-safe (with
// protection provided by |DataPipe|'s |lock_|.
-class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipe : public DataPipe {
+class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipeImpl : public DataPipe {
public:
// |validated_options| should be the output of |DataPipe::ValidateOptions()|.
// In particular: |struct_size| is ignored (so |validated_options| must be the
// current version of the struct) and |capacity_num_bytes| must be nonzero.
- explicit LocalDataPipe(const MojoCreateDataPipeOptions& validated_options);
+ explicit LocalDataPipeImpl(
+ const MojoCreateDataPipeOptions& validated_options);
private:
- friend class base::RefCountedThreadSafe<LocalDataPipe>;
- ~LocalDataPipe() override;
+ friend class base::RefCountedThreadSafe<LocalDataPipeImpl>;
+ ~LocalDataPipeImpl() override;
// |DataPipe| implementation:
void ProducerCloseImplNoLock() override;
@@ -96,10 +97,10 @@ class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipe : public DataPipe {
size_t start_index_;
size_t current_num_bytes_;
- DISALLOW_COPY_AND_ASSIGN(LocalDataPipe);
+ DISALLOW_COPY_AND_ASSIGN(LocalDataPipeImpl);
};
} // namespace system
} // namespace mojo
-#endif // MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_H_
+#endif // MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_
« no previous file with comments | « mojo/edk/system/local_data_pipe.cc ('k') | mojo/edk/system/local_data_pipe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698