blob: ecab05df2eae9d2c46d2adf64a5e211c3023cb21 [file] [log] [blame]
// Copyright 2019 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 "base/strings/string_piece.h"
namespace base {
class FilePath;
namespace extensions {
namespace file_test_util {
// Writes |content| to |path|. Returns true if writing was successful,
// verifying the number of bytes written equals the size of |content|.
bool WriteFile(const base::FilePath& path, base::StringPiece content);
} // namespace file_test_util
} // namespace extensions