web_engine_config.h 692 B

123456789101112131415161718192021
  1. // Copyright 2022 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. #ifndef FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_
  5. #define FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_
  6. #include "fuchsia_web/webengine/web_engine_export.h"
  7. namespace base {
  8. class Value;
  9. class CommandLine;
  10. } // namespace base
  11. // Updates the `command_line` based on `config`. Returns `false` if the config
  12. // is invalid.
  13. WEB_ENGINE_EXPORT bool UpdateCommandLineFromConfigFile(
  14. const base::Value& config,
  15. base::CommandLine* command_line);
  16. #endif // FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_CONFIG_H_