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

Unified Diff: content/common/mojo/channel_init.cc

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: some review comments Created 5 years, 3 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
Index: content/common/mojo/channel_init.cc
diff --git a/content/common/mojo/channel_init.cc b/content/common/mojo/channel_init.cc
index e81515c2da0eda8f573fd5a418817fed7b2c33c9..fe25decd5f28f578f9e0b845ec48fc47dd443346 100644
--- a/content/common/mojo/channel_init.cc
+++ b/content/common/mojo/channel_init.cc
@@ -12,8 +12,9 @@
#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
namespace content {
-
-ChannelInit::ChannelInit() : channel_info_(nullptr), weak_factory_(this) {}
+ChannelInit::ChannelInit()
+ : channel_info_(nullptr),
+ weak_factory_(this) {}
ChannelInit::~ChannelInit() {
if (channel_info_)
@@ -49,6 +50,7 @@ void ChannelInit::ShutdownOnIOThread() {
ipc_support_.reset();
}
+
// static
void ChannelInit::OnCreatedChannel(
base::WeakPtr<ChannelInit> self,

Powered by Google App Engine
This is Rietveld 408576698