blob: c9863305ea3f56ecd1cf3c409d8dfed3a9702ef4 [file] [log] [blame]
// Copyright 2016 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 <memory>
namespace content {
// PlzNavigate
// Copyable interface for embedders to pass opaque data to content/. It is
// expected to be created on the UI thread at the start of the navigation, and
// content/ will transfer it to the IO thread as a clone.
class NavigationUIData {
virtual ~NavigationUIData(){};
// Creates a new NavigationData that is a deep copy of the original.
virtual std::unique_ptr<NavigationUIData> Clone() const = 0;
} // namespace content