1// Copyright (c) 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/test/chromedriver/chrome/util.h"
6
7#include "base/json/json_writer.h"
8#include "base/values.h"
9
10std::string SerializeValue(const base::Value* value) {
11  std::string json;
12  base::JSONWriter::Write(value, &json);
13  return json;
14}
15