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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 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 | « content/common/BUILD.gn ('k') | content/common/mojo/channel_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/channel_init.h
diff --git a/content/common/mojo/channel_init.h b/content/common/mojo/channel_init.h
index bebac0698400f2b0dd194bd94a70380aba7cad68..3f4c191b0230b7ef4d37c5d0683cbd8a26274205 100644
--- a/content/common/mojo/channel_init.h
+++ b/content/common/mojo/channel_init.h
@@ -8,11 +8,9 @@
#include "base/files/file.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
#include "ipc/mojo/scoped_ipc_support.h"
#include "mojo/public/cpp/system/message_pipe.h"
-#include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h"
namespace base {
class TaskRunner;
@@ -32,23 +30,8 @@ class CONTENT_EXPORT ChannelInit {
base::PlatformFile file,
scoped_refptr<base::TaskRunner> io_thread_task_runner);
- // Notifies the channel that we (hence it) will soon be destroyed.
- void WillDestroySoon();
-
private:
- // Invoked on the thread on which this object lives once the channel has been
- // established. This is a static method that takes a weak pointer to self,
- // since we want to destroy the channel if we were destroyed first.
- static void OnCreatedChannel(
- base::WeakPtr<ChannelInit> self,
- scoped_ptr<IPC::ScopedIPCSupport> ipc_support,
- mojo::embedder::ChannelInfo* channel);
-
- // If non-null the channel has been established.
- mojo::embedder::ChannelInfo* channel_info_;
-
scoped_ptr<IPC::ScopedIPCSupport> ipc_support_;
- base::WeakPtrFactory<ChannelInit> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ChannelInit);
};
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/mojo/channel_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698