blob: e27694574746de1dd5c9dc5db601d6313b548ac7 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/zygote/send_zygote_child_ping_linux.h"
#include <vector>
#include "base/posix/unix_domain_socket.h"
#include "content/common/zygote/zygote_commands_linux.h"
namespace content {
bool SendZygoteChildPing(int fd) {
return base::UnixDomainSocket::SendMsg(fd, kZygoteChildPingMessage,
sizeof(kZygoteChildPingMessage),
std::vector<int>());
}
} // namespace content