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

Unified Diff: mojo/embedder/platform_handle_vector.h

Issue 292983007: Mojo: Make PlatformChannelRecvmsg() append handles to a deque instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 7 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/embedder/platform_handle_utils.h ('k') | mojo/embedder/platform_handle_vector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/embedder/platform_handle_vector.h
diff --git a/mojo/embedder/platform_handle_vector.h b/mojo/embedder/platform_handle_vector.h
index b4ed930717806c42ce95fef4271c1b300a57cba1..db5341962332570a529316c26b862b8d260a5d81 100644
--- a/mojo/embedder/platform_handle_vector.h
+++ b/mojo/embedder/platform_handle_vector.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "mojo/embedder/platform_handle.h"
+#include "mojo/embedder/platform_handle_utils.h"
#include "mojo/system/system_impl_export.h"
namespace mojo {
@@ -16,14 +17,11 @@ namespace embedder {
typedef std::vector<PlatformHandle> PlatformHandleVector;
-MOJO_SYSTEM_IMPL_EXPORT void CloseAllHandles(
- PlatformHandleVector* platform_handles);
-
// A deleter (for use with |scoped_ptr|) which closes all handles and then
// |delete|s the |PlatformHandleVector|.
struct MOJO_SYSTEM_IMPL_EXPORT PlatformHandleVectorDeleter {
void operator()(PlatformHandleVector* platform_handles) const {
- CloseAllHandles(platform_handles);
+ CloseAllPlatformHandles(platform_handles);
delete platform_handles;
}
};
« no previous file with comments | « mojo/embedder/platform_handle_utils.h ('k') | mojo/embedder/platform_handle_vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698