blob: 55830f57487209651585838f1271d8b4ceb4efb9 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/zygote_handle_linux.h"
#include "content/browser/zygote_host/zygote_communication_linux.h"
namespace content {
ZygoteHandle CreateZygote() {
ZygoteHandle zygote = new ZygoteCommunication();
zygote->Init();
return zygote;
}
ZygoteHandle* GetGenericZygote() {
static ZygoteHandle zygote;
return &zygote;
}
} // namespace content