summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.h
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 22:27:14 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 22:27:14 +0000
commit6aad23f982580fadbe6f180aa46191102139b01e (patch)
tree9647de3e2db3c439afd1b11a6a9287fb9b5f3806 /ipc/ipc_channel_posix.h
parentb71e5e242c16a13bbaca565616354375f825b3e9 (diff)
downloadchromium_src-6aad23f982580fadbe6f180aa46191102139b01e.zip
chromium_src-6aad23f982580fadbe6f180aa46191102139b01e.tar.gz
chromium_src-6aad23f982580fadbe6f180aa46191102139b01e.tar.bz2
Add some bullet proofing to ipc_channel_posix.
Specifically make sure you can't connect after creating a bad channel. BUG=NONE TEST=Build and run tests Review URL: http://codereview.chromium.org/6596093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76633 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.h')
-rw-r--r--ipc/ipc_channel_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h
index cee613a..b1c4c3b 100644
--- a/ipc/ipc_channel_posix.h
+++ b/ipc/ipc_channel_posix.h
@@ -140,7 +140,7 @@ class Channel::ChannelImpl : public MessageLoopForIO::Watcher {
ScopedRunnableMethodFactory<ChannelImpl> factory_;
- DISALLOW_COPY_AND_ASSIGN(ChannelImpl);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelImpl);
};
// The maximum length of the name of a pipe for MODE_NAMED_SERVER or