diff options
author | rockot <rockot@chromium.org> | 2016-02-19 11:49:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-19 19:50:08 +0000 |
commit | b2615c3a1f7e69d99711c0d6edf725a40a7b05ea (patch) | |
tree | 4d8c5118be4e4af1194e9a884d4e9ee5936a291d /mojo/edk/test/scoped_ipc_support.h | |
parent | 208180ba652e296ecf2ed70a9a400af0de25b6a8 (diff) | |
download | chromium_src-b2615c3a1f7e69d99711c0d6edf725a40a7b05ea.zip chromium_src-b2615c3a1f7e69d99711c0d6edf725a40a7b05ea.tar.gz chromium_src-b2615c3a1f7e69d99711c0d6edf725a40a7b05ea.tar.bz2 |
Mojo: Simplify IPC initialization assumptions
ScopedIPCSupport most likely has something wrong with it. This
removes all of its complexity since it's no longer needed. Instead
only a single ScopedIPCSupport per process is allowed.
The ScopedIPCSupport is removed from content::ChannelInit (which
can be removed in a future patch) and the one in BrowserMainLoop
is initialized a bit earlier, torn down a bit later.
BUG=587807
Review URL: https://codereview.chromium.org/1710823003
Cr-Commit-Position: refs/heads/master@{#376517}
Diffstat (limited to 'mojo/edk/test/scoped_ipc_support.h')
-rw-r--r-- | mojo/edk/test/scoped_ipc_support.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mojo/edk/test/scoped_ipc_support.h b/mojo/edk/test/scoped_ipc_support.h index 132ed44..e920265 100644 --- a/mojo/edk/test/scoped_ipc_support.h +++ b/mojo/edk/test/scoped_ipc_support.h @@ -40,8 +40,7 @@ class ScopedIPCSupportHelper { } // namespace internal // A simple class that calls |InitIPCSupport()| on construction and -// |ShutdownIPCSupport()| on destruction (or |ShutdownIPCSupportOnIOThread()| -// if destroyed on the I/O thread). +// |ShutdownIPCSupport()| on destruction. class ScopedIPCSupport : public ProcessDelegate { public: explicit ScopedIPCSupport( |