blob: 8db4b70f1e864285fb07410517461b9434432603 [file] [log] [blame]
// Copyright 2018 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 <vector>
#include "base/strings/string16.h"
namespace chrome_cleaner {
// Turns a string constant into a vector containing embedded nulls by
// converting every '0' to null.
std::vector<wchar_t> CreateVectorWithNulls(const base::string16& str);
// Returns a string16 obtained from |v| by replacing null characters with "\\0".
base::string16 FormatVectorWithNulls(const std::vector<wchar_t>& v);
} // namespace chrome_cleaner