chromium/third_party/blink/public/mojom/loader/referrer.mojom

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module blink.mojom;

import "url/mojom/url.mojom";
import "services/network/public/mojom/referrer_policy.mojom";

// This struct holds a referrer URL, as well as the referrer policy to be
// applied to this URL. When passing around referrers that will eventually end
// up being used for URL requests, always use this struct.
struct Referrer {
  url.mojom.Url url;
  network.mojom.ReferrerPolicy policy = network.mojom.ReferrerPolicy.kDefault;
};