// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/test/chromedriver/chrome/util.h" #include "base/json/json_writer.h" namespace { template <class T> Status SerializeAsJsonT(const T& value, std::string* json) { … } } // namespace Status SerializeAsJson(const base::Value::Dict& value, std::string* json) { … } Status SerializeAsJson(const base::Value& value, std::string* json) { … } Status SerializeAsJson(const std::string& value, std::string* json) { … }