blob: 5b0b6777bdfa4b484c24d89ec4b7fec6cfc0e7be [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_
#define FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_
#include "base/values.h"
#include "fuchsia_web/webengine/web_engine_export.h"
namespace base {
class CommandLine;
} // namespace base
// Updates the `command_line` based on `config`. Returns `false` if the config
// is invalid.
WEB_ENGINE_EXPORT bool UpdateCommandLineFromConfigFile(
const base::Value::Dict& config,
base::CommandLine* command_line);
#endif // FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_