blob: 718ab78005e1596d82b19044ecc19cec6bfc4ff8 [file] [log] [blame]
// Copyright 2019 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 <string>
#include <base/values.h>
namespace runtime_probe {
// Append the given |prefix| to each key in the |dict_value|.
void PrependToDVKey(base::Value* dict_value, const std::string& prefix);
// Change the name of key |old_key| to |new_key|.
bool RenameKey(base::Value* dv,
const std::string& old_key,
const std::string& new_key);
} // namespace runtime_probe