1// Copyright 2016 The Chromium Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5[JavaPackage="org.chromium.url.internal.mojom"] 6module url.mojom; 7 8import "mojo/public/mojom/base/unguessable_token.mojom"; 9 10struct Origin { 11 string scheme; 12 string host; 13 uint16 port; 14 15 // When a nonce is provided, this origin is opaque. The scheme/host/port do 16 // not need to be valid, but if they are, they identify the tuple origin 17 // from which this opaque origin is derived. 18 mojo_base.mojom.UnguessableToken? nonce_if_opaque; 19}; 20