blob: 6ed0b92d9d31a5d6aea9f303a8ab935c822ec149 [file] [log] [blame]
// Copyright 2020 The Chromium OS 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 <base/files/file_path.h>
namespace typecd {
// Helper function to create the sysfs entries for an alt mode, for testing
// purposes.
// Returns:
// True on success, False otherwise.
bool CreateFakeAltMode(const base::FilePath& mode_path,
uint16_t svid,
uint32_t vdo,
uint32_t vdo_index);
} // namespace typecd