blob: ba4962bb59a881e05a6315147fe6e11e4d5eb729 [file] [log] [blame]
// Copyright 2019 The Chromium 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 <fuchsia/web/cpp/fidl.h>
namespace cr_fuchsia {
// Uses |navigation_controller| to load |url| with |load_url_params|. Returns
// after the load is completed. Returns true if the load was successful, false
// otherwise.
bool LoadUrlAndExpectResponse(
fuchsia::web::NavigationControllerPtr* navigation_controller,
fuchsia::web::LoadUrlParams load_url_params,
std::string url);
} // namespace cr_fuchsia