// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module extensions.mojom;
// A pattern that can be used to match URLs. See C++ type URLPattern for full
// documentation.
struct URLPattern {
// A bitmask containing the schemes considered valid for this pattern.
int32 valid_schemes;
// A string representing this URLPattern.
string pattern;
};
// A set of URLs an extension uses for web content. See
// extensions::URLPatternSet for full documentation.
struct URLPatternSet {
array <URLPattern> patterns;
};