blob: 8928464c26a1a91407865cf6d747eda1ce5518cf [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_KERBEROS_DATA_PIPE_UTILS_H_
#define CHROME_BROWSER_ASH_KERBEROS_DATA_PIPE_UTILS_H_
#include <string>
#include "base/files/scoped_file.h"
namespace ash {
namespace data_pipe_utils {
// Writes |data| to the writing end of a pipe and returns the reading end.
base::ScopedFD GetDataReadPipe(const std::string& data);
} // namespace data_pipe_utils
} // namespace ash
#endif // CHROME_BROWSER_ASH_KERBEROS_DATA_PIPE_UTILS_H_